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