|
libhatchet
|
#include <hxlist.hpp>
Public Member Functions | |
| iterator (void) | |
| iterator & | operator++ (void) |
| iterator | operator++ (int) |
| iterator & | operator-- (void) |
| iterator | operator-- (int) |
| T & | operator* (void) const |
| T * | operator-> (void) const |
| Public Member Functions inherited from hxlist< T, deleter_t_ >::const_iterator | |
| const_iterator (void) | |
| const_iterator & | operator++ (void) |
| const_iterator | operator++ (int) |
| const_iterator & | operator-- (void) |
| const_iterator | operator-- (int) |
| bool | operator== (const const_iterator &x_) const |
| const T & | operator* (void) const |
| const T * | operator-> (void) const |
iterator - Bidirectional iterator over mutable nodes.
|
inline |
Constructs an iterator that must not be incremented or dereferenced.
|
inline |
Returns a mutable reference to the current node.
| iterator hxlist< T, deleter_t_ >::iterator::operator++ | ( | int | ) |
Post-increment: advances to the next node and returns the prior position.
|
inline |
Advances to the next node and returns this iterator.
| iterator hxlist< T, deleter_t_ >::iterator::operator-- | ( | int | ) |
Post-decrement: retreats to the previous node and returns the prior position.
|
inline |
Retreats to the previous node and returns this iterator.
|
inline |
Returns a mutable pointer to the current node.