momo  3.9
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > Class Template Reference

#include <map.h>

Public Types

typedef TKey key_type
 
typedef TMapped mapped_type
 
typedef TLessFunc key_compare
 
typedef TAllocator allocator_type
 
typedef TreeMap nested_container_type
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef std::pair< const key_type, mapped_typevalue_type
 
typedef map_value_compare< key_type, key_comparevalue_compare
 
typedef momo::internal::TreeDerivedIterator< TreeMapIterator, 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 std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef internal::map_node_handle< typename TreeMap::ExtractedPairnode_type
 
typedef internal::insert_return_type< iterator, node_typeinsert_return_type
 

Public Member Functions

 map_base ()
 
 map_base (const allocator_type &alloc)
 
 map_base (const key_compare &lessFunc, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 map_base (Iterator first, Iterator last, const allocator_type &alloc=allocator_type())
 
template<typename Iterator >
 map_base (Iterator first, Iterator last, const key_compare &lessFunc, const allocator_type &alloc=allocator_type())
 
 map_base (std::initializer_list< value_type > values, const allocator_type &alloc=allocator_type())
 
 map_base (std::initializer_list< value_type > values, const key_compare &lessFunc, const allocator_type &alloc=allocator_type())
 
 map_base (map_base &&right) noexcept
 
 map_base (map_base &&right, const momo::internal::Identity< allocator_type > &alloc) noexcept(std::is_empty< allocator_type >::value)
 
 map_base (const map_base &right)
 
 map_base (const map_base &right, const momo::internal::Identity< allocator_type > &alloc)
 
 ~map_base ()=default
 
map_baseoperator= (map_base &&right) noexcept(std::is_empty< allocator_type >::value||std::allocator_traits< allocator_type >::propagate_on_container_move_assignment::value)
 
map_baseoperator= (const map_base &right)
 
void swap (map_base &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_reverse_iterator rbegin () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rend () const noexcept
 
reverse_iterator rend () noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
key_compare key_comp () const
 
value_compare value_comp () 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
 
const_iterator find (const key_type &key) const
 
iterator find (const key_type &key)
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, const_iteratorfind (const KeyArg &key) const
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, iteratorfind (const KeyArg &key)
 
size_type count (const key_type &key) const
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, size_typecount (const KeyArg &key) const
 
bool contains (const key_type &key) const
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, bool > contains (const KeyArg &key) const
 
const_iterator lower_bound (const key_type &key) const
 
iterator lower_bound (const key_type &key)
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, const_iteratorlower_bound (const KeyArg &key) const
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, iteratorlower_bound (const KeyArg &key)
 
const_iterator upper_bound (const key_type &key) const
 
iterator upper_bound (const key_type &key)
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, const_iteratorupper_bound (const KeyArg &key) const
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, iteratorupper_bound (const KeyArg &key)
 
std::pair< const_iterator, const_iteratorequal_range (const key_type &key) const
 
std::pair< iterator, iteratorequal_range (const key_type &key)
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, std::pair< const_iterator, const_iterator > > equal_range (const KeyArg &key) const
 
template<typename KeyArg >
momo::internal::EnableIf< IsValidKeyArg< KeyArg >::value, std::pair< iterator, iterator > > equal_range (const KeyArg &key)
 
std::pair< iterator, bool > insert (std::pair< key_type, mapped_type > &&value)
 
iterator insert (const_iterator hint, std::pair< key_type, mapped_type > &&value)
 
template<typename First , typename Second >
momo::internal::EnableIf< std::is_constructible< key_type, const First & >::value &&std::is_constructible< mapped_type, const Second & >::value, std::pair< iterator, bool > > insert (const std::pair< First, Second > &value)
 
template<typename First , typename Second >
momo::internal::EnableIf< std::is_constructible< key_type, const First & >::value &&std::is_constructible< mapped_type, const Second & >::value, iteratorinsert (const_iterator hint, const std::pair< First, Second > &value)
 
template<typename First , typename Second >
momo::internal::EnableIf< std::is_constructible< key_type, First && >::value &&std::is_constructible< mapped_type, Second && >::value, std::pair< iterator, bool > > insert (std::pair< First, Second > &&value)
 
template<typename First , typename Second >
momo::internal::EnableIf< std::is_constructible< key_type, First && >::value &&std::is_constructible< mapped_type, Second && >::value, iteratorinsert (const_iterator hint, std::pair< First, Second > &&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)
 
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)
 
node_type extract (const_iterator where)
 
node_type extract (const key_type &key)
 
template<typename Map >
void merge (Map &&map)
 
bool operator== (const map_base &right) const
 
bool operator!= (const map_base &right) const
 
bool operator< (const map_base &right) const
 
bool operator> (const map_base &right) const
 
bool operator<= (const map_base &right) const
 
bool operator>= (const map_base &right) const
 

Protected Member Functions

void ptAssign (std::initializer_list< value_type > values)
 
template<typename Hint , typename... KeyArgs, typename... MappedArgs>
std::pair< iterator, bool > ptEmplace (Hint hint, std::tuple< KeyArgs... > &&keyArgs, std::tuple< MappedArgs... > &&mappedArgs)
 

Member Typedef Documentation

◆ allocator_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef TAllocator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::allocator_type

◆ const_iterator

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef iterator::ConstIterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::const_iterator

◆ const_pointer

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef const_iterator::Pointer momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::const_pointer

◆ const_reference

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef const_iterator::Reference momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::const_reference

◆ const_reverse_iterator

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef std::reverse_iterator<const_iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::const_reverse_iterator

◆ difference_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef ptrdiff_t momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::difference_type

◆ insert_return_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef internal::insert_return_type<iterator, node_type> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert_return_type

◆ iterator

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef momo::internal::TreeDerivedIterator<TreeMapIterator, momo::internal::MapReferenceStd> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::iterator

◆ key_compare

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef TLessFunc momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::key_compare

◆ key_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef TKey momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::key_type

◆ mapped_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef TMapped momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::mapped_type

◆ nested_container_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef TreeMap momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::nested_container_type

◆ node_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef internal::map_node_handle<typename TreeMap::ExtractedPair> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::node_type

◆ pointer

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef iterator::Pointer momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::pointer

◆ reference

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef iterator::Reference momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::reference

◆ reverse_iterator

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef std::reverse_iterator<iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::reverse_iterator

◆ size_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef size_t momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::size_type

◆ value_compare

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef map_value_compare<key_type, key_compare> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::value_compare

◆ value_type

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
typedef std::pair<const key_type, mapped_type> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::value_type

Constructor & Destructor Documentation

◆ map_base() [1/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( )
inline

◆ map_base() [2/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( const allocator_type alloc)
inlineexplicit

◆ map_base() [3/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( const key_compare lessFunc,
const allocator_type alloc = allocator_type() 
)
inlineexplicit

◆ map_base() [4/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename Iterator >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( Iterator  first,
Iterator  last,
const allocator_type alloc = allocator_type() 
)
inline

◆ map_base() [5/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename Iterator >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( Iterator  first,
Iterator  last,
const key_compare lessFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ map_base() [6/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( std::initializer_list< value_type values,
const allocator_type alloc = allocator_type() 
)
inline

◆ map_base() [7/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( std::initializer_list< value_type values,
const key_compare lessFunc,
const allocator_type alloc = allocator_type() 
)
inline

◆ map_base() [8/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &&  right)
inlinenoexcept

◆ map_base() [9/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &&  right,
const momo::internal::Identity< allocator_type > &  alloc 
)
inlinenoexcept

◆ map_base() [10/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right)
inline

◆ map_base() [11/11]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::map_base ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right,
const momo::internal::Identity< allocator_type > &  alloc 
)
inline

◆ ~map_base()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::~map_base ( )
default

Member Function Documentation

◆ begin() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::begin ( ) const
inlinenoexcept

◆ begin() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::begin ( )
inlinenoexcept

◆ cbegin()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::cbegin ( ) const
inlinenoexcept

◆ cend()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::cend ( ) const
inlinenoexcept

◆ clear()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
void momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::clear ( )
inlinenoexcept

◆ contains() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::contains ( const key_type key) const
inline

◆ contains() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::contains ( const KeyArg &  key) const
inline

◆ count() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
size_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::count ( const key_type key) const
inline

◆ count() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, size_type> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::count ( const KeyArg &  key) const
inline

◆ crbegin()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_reverse_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::crbegin ( ) const
inlinenoexcept

◆ crend()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_reverse_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::crend ( ) const
inlinenoexcept

◆ emplace() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
std::pair<iterator, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace ( )
inline

◆ emplace() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg , typename MappedArg >
std::pair<iterator, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace ( KeyArg &&  keyArg,
MappedArg &&  mappedArg 
)
inline

◆ emplace() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename... KeyArgs, typename... MappedArgs>
std::pair<iterator, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace ( std::piecewise_construct_t  ,
std::tuple< KeyArgs... >  keyArgs,
std::tuple< MappedArgs... >  mappedArgs 
)
inline

◆ emplace() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename ValueArg >
std::pair<iterator, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace ( ValueArg &&  valueArg)
inline

◆ emplace_hint() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace_hint ( const_iterator  hint)
inline

◆ emplace_hint() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg , typename MappedArg >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace_hint ( const_iterator  hint,
KeyArg &&  keyArg,
MappedArg &&  mappedArg 
)
inline

◆ emplace_hint() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename... KeyArgs, typename... MappedArgs>
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace_hint ( const_iterator  hint,
std::piecewise_construct_t  ,
std::tuple< KeyArgs... >  keyArgs,
std::tuple< MappedArgs... >  mappedArgs 
)
inline

◆ emplace_hint() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename ValueArg >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::emplace_hint ( const_iterator  hint,
ValueArg &&  valueArg 
)
inline

◆ empty()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
MOMO_NODISCARD bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::empty ( ) const
inlinenoexcept

◆ end() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::end ( ) const
inlinenoexcept

◆ end() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::end ( )
inlinenoexcept

◆ equal_range() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
std::pair<iterator, iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::equal_range ( const key_type key)
inline

◆ equal_range() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
std::pair<const_iterator, const_iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::equal_range ( const key_type key) const
inline

◆ equal_range() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, std::pair<iterator, iterator> > momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::equal_range ( const KeyArg &  key)
inline

◆ equal_range() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, std::pair<const_iterator, const_iterator> > momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::equal_range ( const KeyArg &  key) const
inline

◆ erase() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
size_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::erase ( const key_type key)
inline

◆ erase() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::erase ( const_iterator  first,
const_iterator  last 
)
inline

◆ erase() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::erase ( const_iterator  where)
inline

◆ erase() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::erase ( iterator  where)
inline

◆ extract() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
node_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::extract ( const key_type key)
inline

◆ extract() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
node_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::extract ( const_iterator  where)
inline

◆ find() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::find ( const key_type key)
inline

◆ find() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::find ( const key_type key) const
inline

◆ find() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::find ( const KeyArg &  key)
inline

◆ find() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, const_iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::find ( const KeyArg &  key) const
inline

◆ get_allocator()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
allocator_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::get_allocator ( ) const
inlinenoexcept

◆ get_nested_container() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const nested_container_type& momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::get_nested_container ( ) const
inlinenoexcept

◆ get_nested_container() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
nested_container_type& momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::get_nested_container ( )
inlinenoexcept

◆ insert() [1/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename First , typename Second >
momo::internal::EnableIf<std::is_constructible<key_type, const First&>::value && std::is_constructible<mapped_type, const Second&>::value, std::pair<iterator, bool> > momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( const std::pair< First, Second > &  value)
inline

◆ insert() [2/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename First , typename Second >
momo::internal::EnableIf<std::is_constructible<key_type, const First&>::value && std::is_constructible<mapped_type, const Second&>::value, iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( const_iterator  hint,
const std::pair< First, Second > &  value 
)
inline

◆ insert() [3/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( const_iterator  hint,
node_type &&  node 
)
inline

◆ insert() [4/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename First , typename Second >
momo::internal::EnableIf<std::is_constructible<key_type, First&&>::value && std::is_constructible<mapped_type, Second&&>::value, iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( const_iterator  hint,
std::pair< First, Second > &&  value 
)
inline

◆ insert() [5/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( const_iterator  hint,
std::pair< key_type, mapped_type > &&  value 
)
inline

◆ insert() [6/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename Iterator >
void momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( Iterator  first,
Iterator  last 
)
inline

◆ insert() [7/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
insert_return_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( node_type &&  node)
inline

◆ insert() [8/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
void momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( std::initializer_list< value_type values)
inline

◆ insert() [9/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename First , typename Second >
momo::internal::EnableIf<std::is_constructible<key_type, First&&>::value && std::is_constructible<mapped_type, Second&&>::value, std::pair<iterator, bool> > momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( std::pair< First, Second > &&  value)
inline

◆ insert() [10/10]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
std::pair<iterator, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::insert ( std::pair< key_type, mapped_type > &&  value)
inline

◆ key_comp()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
key_compare momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::key_comp ( ) const
inline

◆ lower_bound() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::lower_bound ( const key_type key)
inline

◆ lower_bound() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::lower_bound ( const key_type key) const
inline

◆ lower_bound() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::lower_bound ( const KeyArg &  key)
inline

◆ lower_bound() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, const_iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::lower_bound ( const KeyArg &  key) const
inline

◆ max_size()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
size_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::max_size ( ) const
inlinenoexcept

◆ merge()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename Map >
void momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::merge ( Map &&  map)
inline

◆ operator!=()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator!= ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right) const
inline

◆ operator<()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator< ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right) const
inline

◆ operator<=()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator<= ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right) const
inline

◆ operator=() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
map_base& momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator= ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right)
inline

◆ operator=() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
map_base& momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator= ( map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &&  right)
inlinenoexcept

◆ operator==()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator== ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right) const
inline

◆ operator>()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator> ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right) const
inline

◆ operator>=()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
bool momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::operator>= ( const map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right) const
inline

◆ ptAssign()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
void momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::ptAssign ( std::initializer_list< value_type values)
inlineprotected

◆ ptEmplace()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename Hint , typename... KeyArgs, typename... MappedArgs>
std::pair<iterator, bool> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::ptEmplace ( Hint  hint,
std::tuple< KeyArgs... > &&  keyArgs,
std::tuple< MappedArgs... > &&  mappedArgs 
)
inlineprotected

◆ rbegin() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_reverse_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::rbegin ( ) const
inlinenoexcept

◆ rbegin() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
reverse_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::rbegin ( )
inlinenoexcept

◆ rend() [1/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_reverse_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::rend ( ) const
inlinenoexcept

◆ rend() [2/2]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
reverse_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::rend ( )
inlinenoexcept

◆ size()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
size_type momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::size ( ) const
inlinenoexcept

◆ swap()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
void momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::swap ( map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap > &  right)
inlinenoexcept

◆ upper_bound() [1/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::upper_bound ( const key_type key)
inline

◆ upper_bound() [2/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
const_iterator momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::upper_bound ( const key_type key) const
inline

◆ upper_bound() [3/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::upper_bound ( const KeyArg &  key)
inline

◆ upper_bound() [4/4]

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
template<typename KeyArg >
momo::internal::EnableIf<IsValidKeyArg<KeyArg>::value, const_iterator> momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::upper_bound ( const KeyArg &  key) const
inline

◆ value_comp()

template<typename TKey , typename TMapped , typename TLessFunc , typename TAllocator , typename TTreeMap >
value_compare momo::stdish::internal::map_base< TKey, TMapped, TLessFunc, TAllocator, TTreeMap >::value_comp ( ) const
inline

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