A primitive const node iterator. More...
Public Member Functions | |
const_iterator (const const_iterator &)=default | |
Copy construct. More... | |
const_iterator (const SLListBase *list, const link *item) | |
Construct for a node on the list. More... | |
const_iterator (const SLListBase::iterator &iter) | |
Construct from a non-const iterator. More... | |
const link * | get_node () const noexcept |
The storage node. More... | |
bool | good () const noexcept |
Pointing at a valid storage node. More... | |
void | prev ()=delete |
Cannot move backward through list. More... | |
void | next () |
Move forward through list. More... | |
const_iterator & | operator= (const const_iterator &)=default |
Copy assignment. More... | |
bool | operator== (const const_iterator &iter) const |
bool | operator!= (const const_iterator &iter) const |
A primitive const node iterator.
Must normally be extended by inheriting classes.
Definition at line 237 of file SLListBase.H.
|
default |
Copy construct.
|
inline |
Construct for a node on the list.
Definition at line 276 of file SLListBaseI.H.
|
inline |
Construct from a non-const iterator.
Definition at line 287 of file SLListBaseI.H.
|
inlinenoexcept |
The storage node.
Definition at line 298 of file SLListBaseI.H.
|
inlinenoexcept |
Pointing at a valid storage node.
Definition at line 304 of file SLListBaseI.H.
|
inlinedelete |
Cannot move backward through list.
|
inline |
Move forward through list.
Definition at line 310 of file SLListBaseI.H.
|
default |
Copy assignment.
|
inline |
Definition at line 326 of file SLListBaseI.H.
|
inline |
Definition at line 335 of file SLListBaseI.H.