libstdc++
std::iterator Struct Reference
Inheritance diagram for std::iterator:

List of all members.

Public Types


Detailed Description

Common iterator class.

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?)


Member Typedef Documentation

typedef _Distance std::iterator::difference_type

Distance between iterators is represented as this type.

Reimplemented in std::reverse_iterator.

Definition at line 126 of file stl_iterator_base_types.h.

One of the tag types.

Definition at line 122 of file stl_iterator_base_types.h.

typedef _Pointer std::iterator::pointer

This type represents a pointer-to-value_type.

Reimplemented in std::reverse_iterator.

Definition at line 128 of file stl_iterator_base_types.h.

typedef _Reference std::iterator::reference

This type represents a reference-to-value_type.

Reimplemented in std::reverse_iterator.

Definition at line 130 of file stl_iterator_base_types.h.

The type "pointed to" by the iterator.

Definition at line 124 of file stl_iterator_base_types.h.


The documentation for this struct was generated from the following file: