CppCommon
1.0.4.1
C++ Common Library
|
Hash map constant iterator. More...
#include <hashmap.h>
Public Types | |
typedef std::pair< TKey, TValue > | value_type |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef ptrdiff_t | difference_type |
typedef size_t | size_type |
typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
HashMapConstIterator () noexcept | |
HashMapConstIterator (const TContainer *container) noexcept | |
HashMapConstIterator (const TContainer *container, size_t index) noexcept | |
HashMapConstIterator (const HashMapIterator< TContainer, TKey, TValue > &it) noexcept | |
HashMapConstIterator (const HashMapConstIterator &it) noexcept=default | |
HashMapConstIterator (HashMapConstIterator &&it) noexcept=default | |
~HashMapConstIterator () noexcept=default | |
HashMapConstIterator & | operator= (const HashMapIterator< TContainer, TKey, TValue > &it) noexcept |
HashMapConstIterator & | operator= (const HashMapConstIterator &it) noexcept=default |
HashMapConstIterator & | operator= (HashMapConstIterator &&it) noexcept=default |
HashMapConstIterator & | operator++ () noexcept |
HashMapConstIterator | operator++ (int) noexcept |
const_reference | operator* () const noexcept |
const_pointer | operator-> () const noexcept |
operator bool () const noexcept | |
Check if the iterator is valid. More... | |
void | swap (HashMapConstIterator &it) noexcept |
Swap two instances. More... | |
Friends | |
bool | operator== (const HashMapConstIterator &it1, const HashMapConstIterator &it2) noexcept |
bool | operator!= (const HashMapConstIterator &it1, const HashMapConstIterator &it2) noexcept |
template<class UContainer , typename UKey , typename UValue > | |
void | swap (HashMapConstIterator< UContainer, UKey, UValue > &it1, HashMapConstIterator< UContainer, UKey, UValue > &it2) noexcept |
Hash map constant iterator.
Not thread-safe.
typedef const value_type* CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::const_pointer |
typedef const value_type& CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::const_reference |
typedef ptrdiff_t CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::difference_type |
typedef std::bidirectional_iterator_tag CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::iterator_category |
typedef value_type* CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::pointer |
typedef value_type& CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::reference |
typedef size_t CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::size_type |
typedef std::pair<TKey, TValue> CppCommon::HashMapConstIterator< TContainer, TKey, TValue >::value_type |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
Definition at line 417 of file hashmap.inl.
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineexplicitnoexcept |
|
noexcept |
Definition at line 475 of file hashmap.inl.
|
noexcept |
Definition at line 445 of file hashmap.inl.
|
inlinenoexcept |
Definition at line 467 of file hashmap.inl.
|
noexcept |
Definition at line 483 of file hashmap.inl.
|
defaultnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
noexcept |
Swap two instances.
Definition at line 489 of file hashmap.inl.
|
friend |
|
friend |
|
friend |