CppCommon
1.0.4.1
C++ Common Library
|
Intrusive list constant iterator. More...
#include <list.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 | |
ListConstIterator () noexcept | |
ListConstIterator (const T *node) noexcept | |
ListConstIterator (const ListIterator< T > &it) noexcept | |
ListConstIterator (const ListConstIterator &it) noexcept=default | |
ListConstIterator (ListConstIterator &&it) noexcept=default | |
~ListConstIterator () noexcept=default | |
ListConstIterator & | operator= (const ListIterator< T > &it) noexcept |
ListConstIterator & | operator= (const ListConstIterator &it) noexcept=default |
ListConstIterator & | operator= (ListConstIterator &&it) noexcept=default |
ListConstIterator & | operator++ () noexcept |
ListConstIterator | 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 (ListConstIterator &it) noexcept |
Swap two instances. More... | |
Friends | |
bool | operator== (const ListConstIterator &it1, const ListConstIterator &it2) noexcept |
bool | operator!= (const ListConstIterator &it1, const ListConstIterator &it2) noexcept |
template<typename U > | |
void | swap (ListConstIterator< U > &it1, ListConstIterator< U > &it2) noexcept |
Intrusive list constant iterator.
Not thread-safe.
typedef const value_type* CppCommon::ListConstIterator< T >::const_pointer |
typedef const value_type& CppCommon::ListConstIterator< T >::const_reference |
typedef ptrdiff_t CppCommon::ListConstIterator< T >::difference_type |
typedef std::bidirectional_iterator_tag CppCommon::ListConstIterator< T >::iterator_category |
typedef value_type* CppCommon::ListConstIterator< T >::pointer |
typedef value_type& CppCommon::ListConstIterator< T >::reference |
typedef size_t CppCommon::ListConstIterator< T >::size_type |
typedef T CppCommon::ListConstIterator< T >::value_type |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineexplicitnoexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
noexcept |
|
friend |
|
friend |
|
friend |