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