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