Clingo
Loading...
Searching...
No Matches
unordered_map.hh
1#pragma once
2
3#include <clingo/util/hash.hh>
4
5#include <tsl/hopscotch_map.h>
6
7namespace CppClingo::Util {
8
11
13template <class Key, class T, class Hash = value_hasher, class KeyEqual = value_equal_to,
14 class Allocator = std::allocator<std::pair<Key, T>>,
15 unsigned int NeighborhoodSize = default_neighborhood_size, bool StoreHash = false,
16 class GrowthPolicy = tsl::hh::power_of_two_growth_policy<2>>
17using unordered_map = tsl::hopscotch_map<Key, T, Hash, KeyEqual, Allocator, NeighborhoodSize, StoreHash, GrowthPolicy>;
18
20
21} // namespace CppClingo::Util
tsl::hopscotch_map< Key, T, Hash, KeyEqual, Allocator, NeighborhoodSize, StoreHash, GrowthPolicy > unordered_map
Alias for unordered maps.
Definition unordered_map.hh:17