#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.
| void std::List_iterator_base::M_decr | ( | ) | [inline, inherited] |
| void std::List_iterator_base::M_incr | ( | ) | [inline, inherited] |
List_node_base* std::List_iterator_base::M_node [inherited] |
1.4.7