#include <stl_iterator_base_types.h>
Inheritance diagram for std::iterator< Category, Type, Distance, Pointer, Reference >:
Public Types | |
typedef Category | iterator_category |
One of the tag types. | |
typedef Type | value_type |
The type "pointed to" by the iterator. | |
typedef Distance | difference_type |
Distance between iterators is represented as this type. | |
typedef Pointer | pointer |
This type represents a pointer-to-value_type. | |
typedef Reference | reference |
This type represents a reference-to-value_type. |
This class does nothing but define nested typedefs. Iterator classes can inherit from this class to save some work. The typedefs are then used in specializations and overloading.
In particular, there are no default implementations of requirements such as operator++
and the like. (How could there be?)
Definition at line 104 of file stl_iterator_base_types.h.
typedef Distance std::iterator< Category, Type, Distance, Pointer, Reference >::difference_type |
Distance between iterators is represented as this type.
Reimplemented in std::reverse_iterator< Iterator >, and __gnu_cxx::normal_iterator< Iterator, Container >.
Definition at line 111 of file stl_iterator_base_types.h.
typedef Category std::iterator< Category, Type, Distance, Pointer, Reference >::iterator_category |
typedef Pointer std::iterator< Category, Type, Distance, Pointer, Reference >::pointer |
This type represents a pointer-to-value_type.
Reimplemented in std::Bit_iterator, std::Bit_const_iterator, std::reverse_iterator< Iterator >, __gnu_cxx::normal_iterator< Iterator, Container >, __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.
Definition at line 113 of file stl_iterator_base_types.h.
typedef Reference std::iterator< Category, Type, Distance, Pointer, Reference >::reference |
This type represents a reference-to-value_type.
Reimplemented in std::Bit_iterator, std::Bit_const_iterator, std::reverse_iterator< Iterator >, __gnu_cxx::normal_iterator< Iterator, Container >, __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.
Definition at line 115 of file stl_iterator_base_types.h.
typedef Type std::iterator< Category, Type, Distance, Pointer, Reference >::value_type |
The type "pointed to" by the iterator.
Reimplemented in __gnu_cxx::sequence_buffer< Sequence, Buf_sz >.
Definition at line 109 of file stl_iterator_base_types.h.