momo  3.12
momo::stdish::unordered_map_adaptor< THashMap > Class Template Reference

#include <unordered_map.h>

Public Types

typedef HashMap::Key key_type
 
typedef HashMap::Value mapped_type
 
typedef HashTraits::Hasher hasher
 
typedef HashTraits::EqualComparer key_equal
 
typedef HashMap nested_container_type
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef std::pair< const key_type, mapped_typevalue_type
 
typedef std::allocator_traits< typename MemManager::ByteAllocator >::template rebind_alloc< value_typeallocator_type
 
typedef momo::internal::HashDerivedIterator< HashMapIterator, momo::internal::MapReferenceStditerator
 
typedef iterator::ConstIterator const_iterator
 
typedef iterator::Reference reference
 
typedef const_iterator::Reference const_reference
 
typedef iterator::Pointer pointer
 
typedef const_iterator::Pointer const_pointer
 
typedef internal::map_node_handle< typename HashMap::ExtractedPairnode_type
 
typedef internal::insert_return_type< iterator, node_typeinsert_return_type
 
typedef momo::internal::HashDerivedIterator< typename HashMap::BucketBounds::Iterator, momo::internal::MapReferenceStdlocal_iterator
 
typedef local_iterator::ConstIterator const_local_iterator
 

Public Member Functions

 unordered_map_adaptor ()
 
 unordered_map_adaptor (const allocator_type &alloc)
 
 unordered_map_adaptor (size_type bucketCount, const allocator_type &alloc=allocator_type())
 
 unordered_map_adaptor (size_type bucketCount, const hasher &hashFunc, const allocator_type &alloc=allocator_type())
 
 unordered_map_adaptor (size_type bucketCount, const hasher &hashFunc, const key_equal &equalComp, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 unordered_map_adaptor (Iterator first, Iterator last)
 
template<typename Iterator >
 unordered_map_adaptor (Iterator first, Iterator last, size_type bucketCount, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 unordered_map_adaptor (Iterator first, Iterator last, size_type bucketCount, const hasher &hashFunc, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 unordered_map_adaptor (Iterator first, Iterator last, size_type bucketCount, const hasher &hashFunc, const key_equal &equalComp, const allocator_type &alloc=allocator_type())
 
 unordered_map_adaptor (std::initializer_list< value_type > values)
 
 unordered_map_adaptor (std::initializer_list< value_type > values, size_type bucketCount, const allocator_type &alloc=allocator_type())
 
 unordered_map_adaptor (std::initializer_list< value_type > values, size_type bucketCount, const hasher &hashFunc, const allocator_type &alloc=allocator_type())
 
 unordered_map_adaptor (std::initializer_list< value_type > values, size_type bucketCount, const hasher &hashFunc, const key_equal &equalComp, const allocator_type &alloc=allocator_type())
 
 unordered_map_adaptor (unordered_map_adaptor &&right)
 
 unordered_map_adaptor (unordered_map_adaptor &&right, const allocator_type &alloc)
 
 unordered_map_adaptor (const unordered_map_adaptor &right)
 
 unordered_map_adaptor (const unordered_map_adaptor &right, const allocator_type &alloc)
 
 ~unordered_map_adaptor ()=default
 
unordered_map_adaptoroperator= (unordered_map_adaptor &&right) noexcept(momo::internal::ContainerAssignerStd::IsNothrowMoveAssignable< unordered_map_adaptor >::value)
 
unordered_map_adaptoroperator= (const unordered_map_adaptor &right)
 
unordered_map_adaptoroperator= (std::initializer_list< value_type > values)
 
void swap (unordered_map_adaptor &right) noexcept
 
const nested_container_typeget_nested_container () const noexcept
 
nested_container_typeget_nested_container () noexcept
 
const_iterator begin () const noexcept
 
iterator begin () noexcept
 
const_iterator end () const noexcept
 
iterator end () 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
 
MOMO_FORCEINLINE iterator find (const key_type &key)
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, const_iteratorfind (const KeyArg &key) const
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, iteratorfind (const KeyArg &key)
 
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
 
MOMO_FORCEINLINE std::pair< iterator, iteratorequal_range (const key_type &key)
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, std::pair< const_iterator, const_iterator > > equal_range (const KeyArg &key) const
 
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, std::pair< iterator, iterator > > equal_range (const KeyArg &key)
 
template<typename ValueArg = std::pair<key_type, mapped_type>>
momo::internal::EnableIf< std::is_constructible< value_type, ValueArg && >::value, std::pair< iterator, bool > > insert (ValueArg &&valueArg)
 
template<typename ValueArg = std::pair<key_type, mapped_type>>
momo::internal::EnableIf< std::is_constructible< value_type, ValueArg && >::value, iteratorinsert (const_iterator hint, ValueArg &&valueArg)
 
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)
 
std::pair< iterator, bool > emplace ()
 
iterator emplace_hint (const_iterator hint)
 
template<typename ValueArg >
std::pair< iterator, bool > emplace (ValueArg &&valueArg)
 
template<typename ValueArg >
iterator emplace_hint (const_iterator hint, ValueArg &&valueArg)
 
template<typename KeyArg , typename MappedArg >
std::pair< iterator, bool > emplace (KeyArg &&keyArg, MappedArg &&mappedArg)
 
template<typename KeyArg , typename MappedArg >
iterator emplace_hint (const_iterator hint, KeyArg &&keyArg, MappedArg &&mappedArg)
 
template<typename... KeyArgs, typename... MappedArgs>
std::pair< iterator, bool > emplace (std::piecewise_construct_t, std::tuple< KeyArgs... > keyArgs, std::tuple< MappedArgs... > mappedArgs)
 
template<typename... KeyArgs, typename... MappedArgs>
iterator emplace_hint (const_iterator hint, std::piecewise_construct_t, std::tuple< KeyArgs... > keyArgs, std::tuple< MappedArgs... > mappedArgs)
 
iterator erase (const_iterator where)
 
iterator erase (iterator where)
 
iterator erase (const_iterator first, const_iterator last)
 
size_type erase (const key_type &key)
 
MOMO_FORCEINLINE HashMap::template ValueReference< key_type && > operator[] (key_type &&key)
 
MOMO_FORCEINLINE HashMap::template ValueReference< const key_type & > operator[] (const key_type &key)
 
MOMO_FORCEINLINE const mapped_typeat (const key_type &key) const
 
MOMO_FORCEINLINE mapped_typeat (const key_type &key)
 
template<typename... MappedArgs>
std::pair< iterator, bool > try_emplace (key_type &&key, MappedArgs &&... mappedArgs)
 
template<typename... MappedArgs>
iterator try_emplace (const_iterator hint, key_type &&key, MappedArgs &&... mappedArgs)
 
template<typename... MappedArgs>
std::pair< iterator, bool > try_emplace (const key_type &key, MappedArgs &&... mappedArgs)
 
template<typename... MappedArgs>
iterator try_emplace (const_iterator hint, const key_type &key, MappedArgs &&... mappedArgs)
 
template<typename MappedArg >
std::pair< iterator, bool > insert_or_assign (key_type &&key, MappedArg &&mappedArg)
 
template<typename MappedArg >
iterator insert_or_assign (const_iterator hint, key_type &&key, MappedArg &&mappedArg)
 
template<typename MappedArg >
std::pair< iterator, bool > insert_or_assign (const key_type &key, MappedArg &&mappedArg)
 
template<typename MappedArg >
iterator insert_or_assign (const_iterator hint, const key_type &key, MappedArg &&mappedArg)
 
node_type extract (const_iterator where)
 
node_type extract (const key_type &key)
 
template<typename Map >
void merge (Map &&map)
 
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
 

Friends

void swap (unordered_map_adaptor &left, unordered_map_adaptor &right) noexcept
 
template<typename ValueFilter >
size_type erase_if (unordered_map_adaptor &cont, const ValueFilter &valueFilter)
 
bool operator== (const unordered_map_adaptor &left, const unordered_map_adaptor &right)
 
bool operator!= (const unordered_map_adaptor &left, const unordered_map_adaptor &right)
 

Member Typedef Documentation

◆ allocator_type

template<typename THashMap >
typedef std::allocator_traits<typename MemManager::ByteAllocator>::template rebind_alloc<value_type> momo::stdish::unordered_map_adaptor< THashMap >::allocator_type

◆ const_iterator

template<typename THashMap >
typedef iterator::ConstIterator momo::stdish::unordered_map_adaptor< THashMap >::const_iterator

◆ const_local_iterator

◆ const_pointer

template<typename THashMap >
typedef const_iterator::Pointer momo::stdish::unordered_map_adaptor< THashMap >::const_pointer

◆ const_reference

template<typename THashMap >
typedef const_iterator::Reference momo::stdish::unordered_map_adaptor< THashMap >::const_reference

◆ difference_type

template<typename THashMap >
typedef ptrdiff_t momo::stdish::unordered_map_adaptor< THashMap >::difference_type

◆ hasher

template<typename THashMap >
typedef HashTraits::Hasher momo::stdish::unordered_map_adaptor< THashMap >::hasher

◆ insert_return_type

◆ iterator

◆ key_equal

template<typename THashMap >
typedef HashTraits::EqualComparer momo::stdish::unordered_map_adaptor< THashMap >::key_equal

◆ key_type

template<typename THashMap >
typedef HashMap::Key momo::stdish::unordered_map_adaptor< THashMap >::key_type

◆ local_iterator

◆ mapped_type

template<typename THashMap >
typedef HashMap::Value momo::stdish::unordered_map_adaptor< THashMap >::mapped_type

◆ nested_container_type

template<typename THashMap >
typedef HashMap momo::stdish::unordered_map_adaptor< THashMap >::nested_container_type

◆ node_type

template<typename THashMap >
typedef internal::map_node_handle<typename HashMap::ExtractedPair> momo::stdish::unordered_map_adaptor< THashMap >::node_type

◆ pointer

template<typename THashMap >
typedef iterator::Pointer momo::stdish::unordered_map_adaptor< THashMap >::pointer

◆ reference

template<typename THashMap >
typedef iterator::Reference momo::stdish::unordered_map_adaptor< THashMap >::reference

◆ size_type

template<typename THashMap >
typedef size_t momo::stdish::unordered_map_adaptor< THashMap >::size_type

◆ value_type

template<typename THashMap >
typedef std::pair<const key_type, mapped_type> momo::stdish::unordered_map_adaptor< THashMap >::value_type

Constructor & Destructor Documentation

◆ unordered_map_adaptor() [1/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( )
inline

◆ unordered_map_adaptor() [2/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( const allocator_type alloc)
inlineexplicit

◆ unordered_map_adaptor() [3/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( size_type  bucketCount,
const allocator_type alloc = allocator_type() 
)
inlineexplicit

◆ unordered_map_adaptor() [4/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( size_type  bucketCount,
const hasher hashFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [5/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( size_type  bucketCount,
const hasher hashFunc,
const key_equal equalComp,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [6/17]

template<typename THashMap >
template<typename Iterator >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( Iterator  first,
Iterator  last 
)
inline

◆ unordered_map_adaptor() [7/17]

template<typename THashMap >
template<typename Iterator >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( Iterator  first,
Iterator  last,
size_type  bucketCount,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [8/17]

template<typename THashMap >
template<typename Iterator >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( Iterator  first,
Iterator  last,
size_type  bucketCount,
const hasher hashFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [9/17]

template<typename THashMap >
template<typename Iterator >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( Iterator  first,
Iterator  last,
size_type  bucketCount,
const hasher hashFunc,
const key_equal equalComp,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [10/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( std::initializer_list< value_type values)
inline

◆ unordered_map_adaptor() [11/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( std::initializer_list< value_type values,
size_type  bucketCount,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [12/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( std::initializer_list< value_type values,
size_type  bucketCount,
const hasher hashFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [13/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( std::initializer_list< value_type values,
size_type  bucketCount,
const hasher hashFunc,
const key_equal equalComp,
const allocator_type alloc = allocator_type() 
)
inline

◆ unordered_map_adaptor() [14/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( unordered_map_adaptor< THashMap > &&  right)
inline

◆ unordered_map_adaptor() [15/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( unordered_map_adaptor< THashMap > &&  right,
const allocator_type alloc 
)
inline

◆ unordered_map_adaptor() [16/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( const unordered_map_adaptor< THashMap > &  right)
inline

◆ unordered_map_adaptor() [17/17]

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::unordered_map_adaptor ( const unordered_map_adaptor< THashMap > &  right,
const allocator_type alloc 
)
inline

◆ ~unordered_map_adaptor()

template<typename THashMap >
momo::stdish::unordered_map_adaptor< THashMap >::~unordered_map_adaptor ( )
default

Member Function Documentation

◆ at() [1/2]

template<typename THashMap >
MOMO_FORCEINLINE mapped_type& momo::stdish::unordered_map_adaptor< THashMap >::at ( const key_type key)
inline

◆ at() [2/2]

template<typename THashMap >
MOMO_FORCEINLINE const mapped_type& momo::stdish::unordered_map_adaptor< THashMap >::at ( const key_type key) const
inline

◆ begin() [1/4]

template<typename THashMap >
const_iterator momo::stdish::unordered_map_adaptor< THashMap >::begin ( ) const
inlinenoexcept

◆ begin() [2/4]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::begin ( )
inlinenoexcept

◆ begin() [3/4]

template<typename THashMap >
local_iterator momo::stdish::unordered_map_adaptor< THashMap >::begin ( size_type  bucketIndex)
inline

◆ begin() [4/4]

template<typename THashMap >
const_local_iterator momo::stdish::unordered_map_adaptor< THashMap >::begin ( size_type  bucketIndex) const
inline

◆ bucket()

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::bucket ( const key_type key) const
inline

◆ bucket_count()

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::bucket_count ( ) const
inlinenoexcept

◆ bucket_size()

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::bucket_size ( size_type  bucketIndex) const
inline

◆ cbegin() [1/2]

template<typename THashMap >
const_iterator momo::stdish::unordered_map_adaptor< THashMap >::cbegin ( ) const
inlinenoexcept

◆ cbegin() [2/2]

template<typename THashMap >
const_local_iterator momo::stdish::unordered_map_adaptor< THashMap >::cbegin ( size_type  bucketIndex) const
inline

◆ cend() [1/2]

template<typename THashMap >
const_iterator momo::stdish::unordered_map_adaptor< THashMap >::cend ( ) const
inlinenoexcept

◆ cend() [2/2]

template<typename THashMap >
const_local_iterator momo::stdish::unordered_map_adaptor< THashMap >::cend ( size_type  bucketIndex) const
inline

◆ clear()

template<typename THashMap >
void momo::stdish::unordered_map_adaptor< THashMap >::clear ( )
inlinenoexcept

◆ contains() [1/2]

template<typename THashMap >
MOMO_FORCEINLINE bool momo::stdish::unordered_map_adaptor< THashMap >::contains ( const key_type key) const
inline

◆ contains() [2/2]

template<typename THashMap >
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, bool> momo::stdish::unordered_map_adaptor< THashMap >::contains ( const KeyArg &  key) const
inline

◆ count() [1/2]

template<typename THashMap >
MOMO_FORCEINLINE size_type momo::stdish::unordered_map_adaptor< THashMap >::count ( const key_type key) const
inline

◆ count() [2/2]

template<typename THashMap >
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, size_type> momo::stdish::unordered_map_adaptor< THashMap >::count ( const KeyArg &  key) const
inline

◆ emplace() [1/4]

template<typename THashMap >
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::emplace ( )
inline

◆ emplace() [2/4]

template<typename THashMap >
template<typename KeyArg , typename MappedArg >
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::emplace ( KeyArg &&  keyArg,
MappedArg &&  mappedArg 
)
inline

◆ emplace() [3/4]

template<typename THashMap >
template<typename... KeyArgs, typename... MappedArgs>
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::emplace ( std::piecewise_construct_t  ,
std::tuple< KeyArgs... >  keyArgs,
std::tuple< MappedArgs... >  mappedArgs 
)
inline

◆ emplace() [4/4]

template<typename THashMap >
template<typename ValueArg >
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::emplace ( ValueArg &&  valueArg)
inline

◆ emplace_hint() [1/4]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::emplace_hint ( const_iterator  hint)
inline

◆ emplace_hint() [2/4]

template<typename THashMap >
template<typename KeyArg , typename MappedArg >
iterator momo::stdish::unordered_map_adaptor< THashMap >::emplace_hint ( const_iterator  hint,
KeyArg &&  keyArg,
MappedArg &&  mappedArg 
)
inline

◆ emplace_hint() [3/4]

template<typename THashMap >
template<typename... KeyArgs, typename... MappedArgs>
iterator momo::stdish::unordered_map_adaptor< THashMap >::emplace_hint ( const_iterator  hint,
std::piecewise_construct_t  ,
std::tuple< KeyArgs... >  keyArgs,
std::tuple< MappedArgs... >  mappedArgs 
)
inline

◆ emplace_hint() [4/4]

template<typename THashMap >
template<typename ValueArg >
iterator momo::stdish::unordered_map_adaptor< THashMap >::emplace_hint ( const_iterator  hint,
ValueArg &&  valueArg 
)
inline

◆ empty()

template<typename THashMap >
MOMO_NODISCARD bool momo::stdish::unordered_map_adaptor< THashMap >::empty ( ) const
inlinenoexcept

◆ end() [1/4]

template<typename THashMap >
const_iterator momo::stdish::unordered_map_adaptor< THashMap >::end ( ) const
inlinenoexcept

◆ end() [2/4]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::end ( )
inlinenoexcept

◆ end() [3/4]

template<typename THashMap >
local_iterator momo::stdish::unordered_map_adaptor< THashMap >::end ( size_type  bucketIndex)
inline

◆ end() [4/4]

template<typename THashMap >
const_local_iterator momo::stdish::unordered_map_adaptor< THashMap >::end ( size_type  bucketIndex) const
inline

◆ equal_range() [1/4]

template<typename THashMap >
MOMO_FORCEINLINE std::pair<iterator, iterator> momo::stdish::unordered_map_adaptor< THashMap >::equal_range ( const key_type key)
inline

◆ equal_range() [2/4]

template<typename THashMap >
MOMO_FORCEINLINE std::pair<const_iterator, const_iterator> momo::stdish::unordered_map_adaptor< THashMap >::equal_range ( const key_type key) const
inline

◆ equal_range() [3/4]

template<typename THashMap >
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, std::pair<iterator, iterator> > momo::stdish::unordered_map_adaptor< THashMap >::equal_range ( const KeyArg &  key)
inline

◆ equal_range() [4/4]

template<typename THashMap >
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, std::pair<const_iterator, const_iterator> > momo::stdish::unordered_map_adaptor< THashMap >::equal_range ( const KeyArg &  key) const
inline

◆ erase() [1/4]

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::erase ( const key_type key)
inline

◆ erase() [2/4]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::erase ( const_iterator  first,
const_iterator  last 
)
inline

◆ erase() [3/4]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::erase ( const_iterator  where)
inline

◆ erase() [4/4]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::erase ( iterator  where)
inline

◆ extract() [1/2]

template<typename THashMap >
node_type momo::stdish::unordered_map_adaptor< THashMap >::extract ( const key_type key)
inline

◆ extract() [2/2]

template<typename THashMap >
node_type momo::stdish::unordered_map_adaptor< THashMap >::extract ( const_iterator  where)
inline

◆ find() [1/4]

template<typename THashMap >
MOMO_FORCEINLINE iterator momo::stdish::unordered_map_adaptor< THashMap >::find ( const key_type key)
inline

◆ find() [2/4]

template<typename THashMap >
MOMO_FORCEINLINE const_iterator momo::stdish::unordered_map_adaptor< THashMap >::find ( const key_type key) const
inline

◆ find() [3/4]

template<typename THashMap >
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, iterator> momo::stdish::unordered_map_adaptor< THashMap >::find ( const KeyArg &  key)
inline

◆ find() [4/4]

template<typename THashMap >
template<typename KeyArg >
MOMO_FORCEINLINE momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, const_iterator> momo::stdish::unordered_map_adaptor< THashMap >::find ( const KeyArg &  key) const
inline

◆ get_allocator()

template<typename THashMap >
allocator_type momo::stdish::unordered_map_adaptor< THashMap >::get_allocator ( ) const
inlinenoexcept

◆ get_nested_container() [1/2]

template<typename THashMap >
const nested_container_type& momo::stdish::unordered_map_adaptor< THashMap >::get_nested_container ( ) const
inlinenoexcept

◆ get_nested_container() [2/2]

template<typename THashMap >
nested_container_type& momo::stdish::unordered_map_adaptor< THashMap >::get_nested_container ( )
inlinenoexcept

◆ hash_function()

template<typename THashMap >
hasher momo::stdish::unordered_map_adaptor< THashMap >::hash_function ( ) const
inline

◆ insert() [1/6]

template<typename THashMap >
iterator momo::stdish::unordered_map_adaptor< THashMap >::insert ( const_iterator  hint,
node_type &&  node 
)
inline

◆ insert() [2/6]

template<typename THashMap >
template<typename ValueArg = std::pair<key_type, mapped_type>>
momo::internal::EnableIf<std::is_constructible<value_type, ValueArg&&>::value, iterator> momo::stdish::unordered_map_adaptor< THashMap >::insert ( const_iterator  hint,
ValueArg &&  valueArg 
)
inline

◆ insert() [3/6]

template<typename THashMap >
template<typename Iterator >
void momo::stdish::unordered_map_adaptor< THashMap >::insert ( Iterator  first,
Iterator  last 
)
inline

◆ insert() [4/6]

template<typename THashMap >
insert_return_type momo::stdish::unordered_map_adaptor< THashMap >::insert ( node_type &&  node)
inline

◆ insert() [5/6]

template<typename THashMap >
void momo::stdish::unordered_map_adaptor< THashMap >::insert ( std::initializer_list< value_type values)
inline

◆ insert() [6/6]

template<typename THashMap >
template<typename ValueArg = std::pair<key_type, mapped_type>>
momo::internal::EnableIf<std::is_constructible<value_type, ValueArg&&>::value, std::pair<iterator, bool> > momo::stdish::unordered_map_adaptor< THashMap >::insert ( ValueArg &&  valueArg)
inline

◆ insert_or_assign() [1/4]

template<typename THashMap >
template<typename MappedArg >
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::insert_or_assign ( const key_type key,
MappedArg &&  mappedArg 
)
inline

◆ insert_or_assign() [2/4]

template<typename THashMap >
template<typename MappedArg >
iterator momo::stdish::unordered_map_adaptor< THashMap >::insert_or_assign ( const_iterator  hint,
const key_type key,
MappedArg &&  mappedArg 
)
inline

◆ insert_or_assign() [3/4]

template<typename THashMap >
template<typename MappedArg >
iterator momo::stdish::unordered_map_adaptor< THashMap >::insert_or_assign ( const_iterator  hint,
key_type &&  key,
MappedArg &&  mappedArg 
)
inline

◆ insert_or_assign() [4/4]

template<typename THashMap >
template<typename MappedArg >
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::insert_or_assign ( key_type &&  key,
MappedArg &&  mappedArg 
)
inline

◆ key_eq()

template<typename THashMap >
key_equal momo::stdish::unordered_map_adaptor< THashMap >::key_eq ( ) const
inline

◆ load_factor()

template<typename THashMap >
float momo::stdish::unordered_map_adaptor< THashMap >::load_factor ( ) const
inlinenoexcept

◆ max_bucket_count()

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::max_bucket_count ( ) const
inlinenoexcept

◆ max_load_factor() [1/2]

template<typename THashMap >
float momo::stdish::unordered_map_adaptor< THashMap >::max_load_factor ( ) const
inlinenoexcept

◆ max_load_factor() [2/2]

template<typename THashMap >
void momo::stdish::unordered_map_adaptor< THashMap >::max_load_factor ( float  maxLoadFactor)
inline

◆ max_size()

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::max_size ( ) const
inlinenoexcept

◆ merge()

template<typename THashMap >
template<typename Map >
void momo::stdish::unordered_map_adaptor< THashMap >::merge ( Map &&  map)
inline

◆ operator=() [1/3]

template<typename THashMap >
unordered_map_adaptor& momo::stdish::unordered_map_adaptor< THashMap >::operator= ( const unordered_map_adaptor< THashMap > &  right)
inline

◆ operator=() [2/3]

template<typename THashMap >
unordered_map_adaptor& momo::stdish::unordered_map_adaptor< THashMap >::operator= ( std::initializer_list< value_type values)
inline

◆ operator=() [3/3]

template<typename THashMap >
unordered_map_adaptor& momo::stdish::unordered_map_adaptor< THashMap >::operator= ( unordered_map_adaptor< THashMap > &&  right)
inlinenoexcept

◆ operator[]() [1/2]

template<typename THashMap >
MOMO_FORCEINLINE HashMap::template ValueReference<const key_type&> momo::stdish::unordered_map_adaptor< THashMap >::operator[] ( const key_type key)
inline

◆ operator[]() [2/2]

template<typename THashMap >
MOMO_FORCEINLINE HashMap::template ValueReference<key_type&&> momo::stdish::unordered_map_adaptor< THashMap >::operator[] ( key_type &&  key)
inline

◆ rehash()

template<typename THashMap >
void momo::stdish::unordered_map_adaptor< THashMap >::rehash ( size_type  bucketCount)
inline

◆ reserve()

template<typename THashMap >
void momo::stdish::unordered_map_adaptor< THashMap >::reserve ( size_type  count)
inline

◆ size()

template<typename THashMap >
size_type momo::stdish::unordered_map_adaptor< THashMap >::size ( ) const
inlinenoexcept

◆ swap()

template<typename THashMap >
void momo::stdish::unordered_map_adaptor< THashMap >::swap ( unordered_map_adaptor< THashMap > &  right)
inlinenoexcept

◆ try_emplace() [1/4]

template<typename THashMap >
template<typename... MappedArgs>
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::try_emplace ( const key_type key,
MappedArgs &&...  mappedArgs 
)
inline

◆ try_emplace() [2/4]

template<typename THashMap >
template<typename... MappedArgs>
iterator momo::stdish::unordered_map_adaptor< THashMap >::try_emplace ( const_iterator  hint,
const key_type key,
MappedArgs &&...  mappedArgs 
)
inline

◆ try_emplace() [3/4]

template<typename THashMap >
template<typename... MappedArgs>
iterator momo::stdish::unordered_map_adaptor< THashMap >::try_emplace ( const_iterator  hint,
key_type &&  key,
MappedArgs &&...  mappedArgs 
)
inline

◆ try_emplace() [4/4]

template<typename THashMap >
template<typename... MappedArgs>
std::pair<iterator, bool> momo::stdish::unordered_map_adaptor< THashMap >::try_emplace ( key_type &&  key,
MappedArgs &&...  mappedArgs 
)
inline

Friends And Related Function Documentation

◆ erase_if

template<typename THashMap >
template<typename ValueFilter >
size_type erase_if ( unordered_map_adaptor< THashMap > &  cont,
const ValueFilter &  valueFilter 
)
friend

◆ operator!=

template<typename THashMap >
bool operator!= ( const unordered_map_adaptor< THashMap > &  left,
const unordered_map_adaptor< THashMap > &  right 
)
friend

◆ operator==

template<typename THashMap >
bool operator== ( const unordered_map_adaptor< THashMap > &  left,
const unordered_map_adaptor< THashMap > &  right 
)
friend

◆ swap

template<typename THashMap >
void swap ( unordered_map_adaptor< THashMap > &  left,
unordered_map_adaptor< THashMap > &  right 
)
friend

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