momo  3.9
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > Class Template Reference

momo::stdish::unordered_set is similar to std::unordered_set, but much more efficient in memory usage. The implementation is based on hash table with buckets in the form of small arrays. More...

#include <unordered_set.h>

Public Types

typedef TKey key_type
 
typedef THashFunc hasher
 
typedef TEqualFunc key_equal
 
typedef TAllocator allocator_type
 
typedef HashSet nested_container_type
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef key_type value_type
 
typedef HashSet::ConstIterator const_iterator
 
typedef HashSet::Iterator iterator
 
typedef value_typereference
 
typedef const_iterator::Reference const_reference
 
typedef value_typepointer
 
typedef const_iterator::Pointer const_pointer
 
typedef internal::set_node_handle< typename HashSet::ExtractedItemnode_type
 
typedef internal::insert_return_type< iterator, node_typeinsert_return_type
 
typedef HashSet::ConstBucketBounds::Iterator const_local_iterator
 
typedef const_local_iterator local_iterator
 

Public Member Functions

 unordered_set ()
 
 unordered_set (const allocator_type &alloc)
 
 unordered_set (size_type bucketCount, const allocator_type &alloc=allocator_type())
 
 unordered_set (size_type bucketCount, const hasher &hashFunc, const allocator_type &alloc=allocator_type())
 
 unordered_set (size_type bucketCount, const hasher &hashFunc, const key_equal &equalFunc, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 unordered_set (Iterator first, Iterator last)
 
template<typename Iterator >
 unordered_set (Iterator first, Iterator last, size_type bucketCount, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 unordered_set (Iterator first, Iterator last, size_type bucketCount, const hasher &hashFunc, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 unordered_set (Iterator first, Iterator last, size_type bucketCount, const hasher &hashFunc, const key_equal &equalFunc, const allocator_type &alloc=allocator_type())
 
 unordered_set (std::initializer_list< value_type > values)
 
 unordered_set (std::initializer_list< value_type > values, size_type bucketCount, const allocator_type &alloc=allocator_type())
 
 unordered_set (std::initializer_list< value_type > values, size_type bucketCount, const hasher &hashFunc, const allocator_type &alloc=allocator_type())
 
 unordered_set (std::initializer_list< value_type > values, size_type bucketCount, const hasher &hashFunc, const key_equal &equalFunc, const allocator_type &alloc=allocator_type())
 
 unordered_set (unordered_set &&right) noexcept
 
 unordered_set (unordered_set &&right, const momo::internal::Identity< allocator_type > &alloc) noexcept(std::is_empty< allocator_type >::value)
 
 unordered_set (const unordered_set &right)
 
 unordered_set (const unordered_set &right, const momo::internal::Identity< allocator_type > &alloc)
 
 ~unordered_set ()=default
 
unordered_setoperator= (unordered_set &&right) noexcept(std::is_empty< allocator_type >::value||std::allocator_traits< allocator_type >::propagate_on_container_move_assignment::value)
 
unordered_setoperator= (const unordered_set &right)
 
unordered_setoperator= (std::initializer_list< value_type > values)
 
void swap (unordered_set &right) noexcept
 
const nested_container_typeget_nested_container () const noexcept
 
nested_container_typeget_nested_container () noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
float max_load_factor () const noexcept
 
void max_load_factor (float maxLoadFactor)
 
hasher hash_function () const
 
key_equal key_eq () const
 
allocator_type get_allocator () const noexcept
 
size_type max_size () const noexcept
 
size_type size () const noexcept
 
MOMO_NODISCARD bool empty () const noexcept
 
void clear () noexcept
 
void rehash (size_type bucketCount)
 
void reserve (size_type count)
 
MOMO_FORCEINLINE const_iterator find (const key_type &key) const
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, const_iteratorfind (const KeyArg &key) const
 
MOMO_FORCEINLINE size_type count (const key_type &key) const
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, size_typecount (const KeyArg &key) const
 
MOMO_FORCEINLINE bool contains (const key_type &key) const
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, bool > contains (const KeyArg &key) const
 
MOMO_FORCEINLINE std::pair< const_iterator, const_iteratorequal_range (const key_type &key) const
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, std::pair< const_iterator, const_iterator > > equal_range (const KeyArg &key) const
 
std::pair< iterator, bool > insert (value_type &&value)
 
iterator insert (const_iterator hint, value_type &&value)
 
std::pair< iterator, bool > insert (const value_type &value)
 
iterator insert (const_iterator hint, const value_type &value)
 
insert_return_type insert (node_type &&node)
 
iterator insert (const_iterator hint, node_type &&node)
 
template<typename Iterator >
void insert (Iterator first, Iterator last)
 
void insert (std::initializer_list< value_type > values)
 
template<typename... ValueArgs>
std::pair< iterator, bool > emplace (ValueArgs &&... valueArgs)
 
template<typename ValueArg >
momo::internal::EnableIf< std::is_same< key_type, typename std::decay< ValueArg >::type >::value, std::pair< iterator, bool > > emplace (ValueArg &&valueArg)
 
template<typename... ValueArgs>
iterator emplace_hint (const_iterator hint, ValueArgs &&... valueArgs)
 
iterator erase (const_iterator where)
 
iterator erase (const_iterator first, const_iterator last)
 
size_type erase (const key_type &key)
 
node_type extract (const_iterator where)
 
node_type extract (const key_type &key)
 
template<typename Set >
void merge (Set &&set)
 
size_type max_bucket_count () const noexcept
 
size_type bucket_count () const noexcept
 
size_type bucket_size (size_type bucketIndex) const
 
local_iterator begin (size_type bucketIndex)
 
const_local_iterator begin (size_type bucketIndex) const
 
local_iterator end (size_type bucketIndex)
 
const_local_iterator end (size_type bucketIndex) const
 
const_local_iterator cbegin (size_type bucketIndex) const
 
const_local_iterator cend (size_type bucketIndex) const
 
size_type bucket (const key_type &key) const
 
float load_factor () const noexcept
 
bool operator== (const unordered_set &right) const
 
bool operator!= (const unordered_set &right) const
 

Friends

void swap (unordered_set &left, unordered_set &right) noexcept
 
template<typename ValueFilter >
size_type erase_if (unordered_set &cont, const ValueFilter &valueFilter)
 

Detailed Description

template<typename TKey, typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
class momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >

momo::stdish::unordered_set is similar to std::unordered_set, but much more efficient in memory usage. The implementation is based on hash table with buckets in the form of small arrays.

Deviations from the std::unordered_set:

  1. Container items must be movable (preferably without exceptions) or copyable, similar to items of std::vector.
  2. After each addition or removal of the item all iterators and references to items become invalid and should not be used.
  3. Functions clear, begin, cbegin and iterator increment take O(bucket_count) time in worst case.
  4. If ObjectManager<key_type>::isNothrowAnywayAssignable is false, functions erase can throw exceptions.
  5. Functions merge, extract and insert(node_type&&) move items.

It is allowed to pass to functions insert and emplace references to items within the container.

Member Typedef Documentation

◆ allocator_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef TAllocator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::allocator_type

◆ const_iterator

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef HashSet::ConstIterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::const_iterator

◆ const_local_iterator

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef HashSet::ConstBucketBounds::Iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::const_local_iterator

◆ const_pointer

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef const_iterator::Pointer momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::const_pointer

◆ const_reference

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef const_iterator::Reference momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::const_reference

◆ difference_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef ptrdiff_t momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::difference_type

◆ hasher

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef THashFunc momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::hasher

◆ insert_return_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef internal::insert_return_type<iterator, node_type> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert_return_type

◆ iterator

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef HashSet::Iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::iterator

◆ key_equal

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef TEqualFunc momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::key_equal

◆ key_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef TKey momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::key_type

◆ local_iterator

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef const_local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::local_iterator

◆ nested_container_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef HashSet momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::nested_container_type

◆ node_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef internal::set_node_handle<typename HashSet::ExtractedItem> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::node_type

◆ pointer

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef value_type* momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::pointer

◆ reference

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef value_type& momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::reference

◆ size_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef size_t momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::size_type

◆ value_type

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
typedef key_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::value_type

Constructor & Destructor Documentation

◆ unordered_set() [1/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( )
inline

◆ unordered_set() [2/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( const allocator_type alloc)
inlineexplicit

◆ unordered_set() [3/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( size_type  bucketCount,
const allocator_type alloc = allocator_type() 
)
inlineexplicit

◆ unordered_set() [4/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( size_type  bucketCount,
const hasher hashFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [5/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( size_type  bucketCount,
const hasher hashFunc,
const key_equal equalFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [6/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename Iterator >
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( Iterator  first,
Iterator  last 
)
inline

◆ unordered_set() [7/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename Iterator >
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( Iterator  first,
Iterator  last,
size_type  bucketCount,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [8/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename Iterator >
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( Iterator  first,
Iterator  last,
size_type  bucketCount,
const hasher hashFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [9/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename Iterator >
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( Iterator  first,
Iterator  last,
size_type  bucketCount,
const hasher hashFunc,
const key_equal equalFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [10/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( std::initializer_list< value_type values)
inline

◆ unordered_set() [11/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( std::initializer_list< value_type values,
size_type  bucketCount,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [12/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( std::initializer_list< value_type values,
size_type  bucketCount,
const hasher hashFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [13/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( std::initializer_list< value_type values,
size_type  bucketCount,
const hasher hashFunc,
const key_equal equalFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_set() [14/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &&  right)
inlinenoexcept

◆ unordered_set() [15/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &&  right,
const momo::internal::Identity< allocator_type > &  alloc 
)
inlinenoexcept

◆ unordered_set() [16/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( const unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right)
inline

◆ unordered_set() [17/17]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::unordered_set ( const unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right,
const momo::internal::Identity< allocator_type > &  alloc 
)
inline

◆ ~unordered_set()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::~unordered_set ( )
default

Member Function Documentation

◆ begin() [1/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::begin ( ) const
inlinenoexcept

◆ begin() [2/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::begin ( size_type  bucketIndex)
inline

◆ begin() [3/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::begin ( size_type  bucketIndex) const
inline

◆ bucket()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::bucket ( const key_type key) const
inline

◆ bucket_count()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::bucket_count ( ) const
inlinenoexcept

◆ bucket_size()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::bucket_size ( size_type  bucketIndex) const
inline

◆ cbegin() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::cbegin ( ) const
inlinenoexcept

◆ cbegin() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::cbegin ( size_type  bucketIndex) const
inline

◆ cend() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::cend ( ) const
inlinenoexcept

◆ cend() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::cend ( size_type  bucketIndex) const
inline

◆ clear()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::clear ( )
inlinenoexcept

◆ contains() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
MOMO_FORCEINLINE bool momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::contains ( const key_type key) const
inline

◆ contains() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, bool> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::contains ( const KeyArg &  key) const
inline

◆ count() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
MOMO_FORCEINLINE size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::count ( const key_type key) const
inline

◆ count() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, size_type> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::count ( const KeyArg &  key) const
inline

◆ emplace() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename ValueArg >
momo::internal::EnableIf<std::is_same<key_type, typename std::decay<ValueArg>::type>::value, std::pair<iterator, bool> > momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::emplace ( ValueArg &&  valueArg)
inline

◆ emplace() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename... ValueArgs>
std::pair<iterator, bool> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::emplace ( ValueArgs &&...  valueArgs)
inline

◆ emplace_hint()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename... ValueArgs>
iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::emplace_hint ( const_iterator  hint,
ValueArgs &&...  valueArgs 
)
inline

◆ empty()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
MOMO_NODISCARD bool momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::empty ( ) const
inlinenoexcept

◆ end() [1/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::end ( ) const
inlinenoexcept

◆ end() [2/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::end ( size_type  bucketIndex)
inline

◆ end() [3/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const_local_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::end ( size_type  bucketIndex) const
inline

◆ equal_range() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
MOMO_FORCEINLINE std::pair<const_iterator, const_iterator> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::equal_range ( const key_type key) const
inline

◆ equal_range() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, std::pair<const_iterator, const_iterator> > momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::equal_range ( const KeyArg &  key) const
inline

◆ erase() [1/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::erase ( const key_type key)
inline

◆ erase() [2/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::erase ( const_iterator  first,
const_iterator  last 
)
inline

◆ erase() [3/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::erase ( const_iterator  where)
inline

◆ extract() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
node_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::extract ( const key_type key)
inline

◆ extract() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
node_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::extract ( const_iterator  where)
inline

◆ find() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
MOMO_FORCEINLINE const_iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::find ( const key_type key) const
inline

◆ find() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, const_iterator> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::find ( const KeyArg &  key) const
inline

◆ get_allocator()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
allocator_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::get_allocator ( ) const
inlinenoexcept

◆ get_nested_container() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
const nested_container_type& momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::get_nested_container ( ) const
inlinenoexcept

◆ get_nested_container() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
nested_container_type& momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::get_nested_container ( )
inlinenoexcept

◆ hash_function()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
hasher momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::hash_function ( ) const
inline

◆ insert() [1/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
std::pair<iterator, bool> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( const value_type value)
inline

◆ insert() [2/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( const_iterator  hint,
const value_type value 
)
inline

◆ insert() [3/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( const_iterator  hint,
node_type &&  node 
)
inline

◆ insert() [4/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
iterator momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( const_iterator  hint,
value_type &&  value 
)
inline

◆ insert() [5/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename Iterator >
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( Iterator  first,
Iterator  last 
)
inline

◆ insert() [6/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
insert_return_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( node_type &&  node)
inline

◆ insert() [7/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( std::initializer_list< value_type values)
inline

◆ insert() [8/8]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
std::pair<iterator, bool> momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::insert ( value_type &&  value)
inline

◆ key_eq()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
key_equal momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::key_eq ( ) const
inline

◆ load_factor()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
float momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::load_factor ( ) const
inlinenoexcept

◆ max_bucket_count()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::max_bucket_count ( ) const
inlinenoexcept

◆ max_load_factor() [1/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
float momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::max_load_factor ( ) const
inlinenoexcept

◆ max_load_factor() [2/2]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::max_load_factor ( float  maxLoadFactor)
inline

◆ max_size()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::max_size ( ) const
inlinenoexcept

◆ merge()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename Set >
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::merge ( Set &&  set)
inline

◆ operator!=()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
bool momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::operator!= ( const unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right) const
inline

◆ operator=() [1/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
unordered_set& momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::operator= ( const unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right)
inline

◆ operator=() [2/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
unordered_set& momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::operator= ( std::initializer_list< value_type values)
inline

◆ operator=() [3/3]

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
unordered_set& momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::operator= ( unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &&  right)
inlinenoexcept

◆ operator==()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
bool momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::operator== ( const unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right) const
inline

◆ rehash()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::rehash ( size_type  bucketCount)
inline

◆ reserve()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::reserve ( size_type  count)
inline

◆ size()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
size_type momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::size ( ) const
inlinenoexcept

◆ swap()

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void momo::stdish::unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet >::swap ( unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right)
inlinenoexcept

Friends And Related Function Documentation

◆ erase_if

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
template<typename ValueFilter >
size_type erase_if ( unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  cont,
const ValueFilter &  valueFilter 
)
friend

◆ swap

template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename TAllocator = std::allocator<TKey>, typename THashSet = HashSet<TKey, HashTraitsStd<TKey, THashFunc, TEqualFunc>, MemManagerStd<TAllocator>>>
void swap ( unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  left,
unordered_set< TKey, THashFunc, TEqualFunc, TAllocator, THashSet > &  right 
)
friend

The documentation for this class was generated from the following file: