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