Forward iterator over an slist of _Tp with constness from _Traits.
Synopsis
Declared in <bslstp_slist.h>
template<
class _Tp,
class _Traits>
struct _Slist_iterator
: _Slist_iterator_base
Base Classes
Name |
Description |
Non‐templated base for forward iterators over an slist. |
Type Aliases
Name |
Description |
Node type holding a |
|
This iterator specialization. |
|
Const iterator type for this value type. |
|
Signed integral type used for iterator distances. |
|
Non‐const iterator type for this value type. |
|
Iterator category tag identifying a forward iterator. |
|
Pointer type from the traits. |
|
Reference type from the traits. |
|
Unsigned integral type used for sizes. |
|
Element type referenced by this iterator. |
Member Functions
Name |
Description |
|
Constructors |
Advance this iterator to the next node. |
|
Return a reference to the element at this position. |
|
Increment operators |
|
Return a pointer to the element at this position. |
|
Return |
|
Return |
Data Members
Name |
Description |
Pointer to the current node, or null for a past‐the‐end iterator. |
Created with MrDocs