libstdc++: std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference (original) (raw)
template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t, typename _Pointer = _Tp*, typename _Reference = _Tp&>
struct std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference >
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?)
Definition at line 127 of file stl_iterator_base_types.h.