CppCommon
1.0.4.1
C++ Common Library
|
Intrusive binary tree constant iterator. More...
#include <bintree.h>
Public Types | |
typedef T | 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 | |
BinTreeConstIterator () noexcept | |
BinTreeConstIterator (const TContainer *container, const T *node) noexcept | |
BinTreeConstIterator (const BinTreeIterator< TContainer, T > &it) noexcept | |
BinTreeConstIterator (const BinTreeConstIterator &it) noexcept=default | |
BinTreeConstIterator (BinTreeConstIterator &&it) noexcept=default | |
~BinTreeConstIterator () noexcept=default | |
BinTreeConstIterator & | operator= (const BinTreeIterator< TContainer, T > &it) noexcept |
BinTreeConstIterator & | operator= (const BinTreeConstIterator &it) noexcept=default |
BinTreeConstIterator & | operator= (BinTreeConstIterator &&it) noexcept=default |
BinTreeConstIterator & | operator++ () noexcept |
BinTreeConstIterator | operator++ (int) noexcept |
const_reference | operator* () const noexcept |
const_pointer | operator-> () const noexcept |
operator bool () const noexcept | |
Check if the iterator is valid. More... | |
bool | compare (const T &item1, const T &item2) const noexcept |
Compare two items: if the first item is less than the second one? More... | |
void | swap (BinTreeConstIterator &it) noexcept |
Swap two instances. More... | |
Friends | |
bool | operator== (const BinTreeConstIterator &it1, const BinTreeConstIterator &it2) noexcept |
bool | operator!= (const BinTreeConstIterator &it1, const BinTreeConstIterator &it2) noexcept |
template<class UContainer , typename U > | |
void | swap (BinTreeConstIterator< UContainer, U > &it1, BinTreeConstIterator< UContainer, U > &it2) noexcept |
Intrusive binary tree constant iterator.
Not thread-safe.
typedef const value_type* CppCommon::BinTreeConstIterator< TContainer, T >::const_pointer |
typedef const value_type& CppCommon::BinTreeConstIterator< TContainer, T >::const_reference |
typedef ptrdiff_t CppCommon::BinTreeConstIterator< TContainer, T >::difference_type |
typedef std::bidirectional_iterator_tag CppCommon::BinTreeConstIterator< TContainer, T >::iterator_category |
typedef value_type* CppCommon::BinTreeConstIterator< TContainer, T >::pointer |
typedef value_type& CppCommon::BinTreeConstIterator< TContainer, T >::reference |
typedef size_t CppCommon::BinTreeConstIterator< TContainer, T >::size_type |
typedef T CppCommon::BinTreeConstIterator< TContainer, T >::value_type |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
noexcept |
Definition at line 507 of file bintree.inl.
|
noexcept |
Definition at line 478 of file bintree.inl.
|
inlinenoexcept |
Definition at line 499 of file bintree.inl.
|
noexcept |
Definition at line 515 of file bintree.inl.
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
noexcept |
Swap two instances.
Definition at line 521 of file bintree.inl.
|
friend |
|
friend |
|
friend |