#include <stl_list.h>
Inheritance diagram for std::List_iterator< Type, Ref, Ptr >:
Public Types | |
typedef List_iterator< Type, Type &, Type * > | iterator |
typedef List_iterator< Type, const Type &, const Type * > | const_iterator |
typedef List_iterator< Type, Ref, Ptr > | Self |
typedef Type | value_type |
typedef Ptr | pointer |
typedef Ref | reference |
typedef List_node< Type > | Node |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
List_iterator (Node *x) | |
List_iterator () | |
List_iterator (const iterator &x) | |
reference | operator * () const |
pointer | operator-> () const |
Self & | operator++ () |
Self | operator++ (int) |
Self & | operator-- () |
Self | operator-- (int) |
void | M_incr () |
Walk the list forward. | |
void | M_decr () |
Walk the list backward. | |
bool | operator== (const List_iterator_base &x) const |
bool | operator!= (const List_iterator_base &x) const |
Public Attributes | |
List_node_base * | M_node |
The only member points to the list element. |
In addition to being used externally, a list holds one of these internally, pointing to the sequence of data.
Definition at line 144 of file stl_list.h.
|
Walk the list backward.
Definition at line 121 of file stl_list.h. |
|
Walk the list forward.
Definition at line 116 of file stl_list.h. |
|
The only member points to the list element.
Definition at line 104 of file stl_list.h. |