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