bsl::_Slist_iterator_base

Non-templated base for forward iterators over an slist.

Synopsis

Declared in <bslstp_slist.h>

struct _Slist_iterator_base;

Type Aliases

NameDescription
difference_type Signed integral type used for iterator distances.
iterator_category Iterator category tag identifying a forward iterator.
size_type Unsigned integral type used for sizes.

Member Functions

NameDescription
_Slist_iterator_base [constructor]Create an iterator referring to the specified node.
_M_incr Advance this iterator to the next node.
operator== Return true if both iterators refer to the same node.
operator!= Return true if the iterators refer to different nodes.

Data Members

NameDescription
_M_node Pointer to the current node, or null for a past-the-end iterator.

Derived Classes

NameDescription
_Slist_iterator Forward iterator over an slist of _Tp with constness from _Traits.