.TH "std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference > \- Common iterator class\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBstd::istream_iterator< _Tp, _CharT, _Traits, _Dist >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "\fBtypedef\fP \fB_Distance\fP \fBdifference_type\fP" .br .RI "Distance between iterators is represented as this type\&. " .ti -1c .RI "\fBtypedef\fP \fB_Category\fP \fBiterator_category\fP" .br .RI "One of the \fBtag types\fP\&. " .ti -1c .RI "\fBtypedef\fP _Pointer \fBpointer\fP" .br .RI "This type represents a pointer-to-value_type\&. " .ti -1c .RI "\fBtypedef\fP _Reference \fBreference\fP" .br .RI "This type represents a reference-to-value_type\&. " .ti -1c .RI "\fBtypedef\fP _Tp \fBvalue_type\fP" .br .RI "The type 'pointed to' by the iterator\&. " .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP \fB_Category\fP, \fBtypename\fP _Tp, \fBtypename\fP \fB_Distance\fP = ptrdiff_t, \fBtypename\fP _Pointer = _Tp*, \fBtypename\fP _Reference = _Tp&> .br 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\&. .PP In particular, there are no default implementations of requirements such as \fCoperator++\fP and the like\&. (How could there be?) .SH "Member Typedef Documentation" .PP .SS "template<\fBtypename\fP \fB_Category\fP , \fBtypename\fP _Tp , \fBtypename\fP \fB_Distance\fP = ptrdiff_t, \fBtypename\fP _Pointer = _Tp*, \fBtypename\fP _Reference = _Tp&> \fBtypedef\fP \fB_Distance\fP \fBstd::iterator\fP< \fB_Category\fP, _Tp, \fB_Distance\fP, _Pointer, _Reference >::difference_type" .PP Distance between iterators is represented as this type\&. .SS "template<\fBtypename\fP \fB_Category\fP , \fBtypename\fP _Tp , \fBtypename\fP \fB_Distance\fP = ptrdiff_t, \fBtypename\fP _Pointer = _Tp*, \fBtypename\fP _Reference = _Tp&> \fBtypedef\fP \fB_Category\fP \fBstd::iterator\fP< \fB_Category\fP, _Tp, \fB_Distance\fP, _Pointer, _Reference >::iterator_category" .PP One of the \fBtag types\fP\&. .SS "template<\fBtypename\fP \fB_Category\fP , \fBtypename\fP _Tp , \fBtypename\fP \fB_Distance\fP = ptrdiff_t, \fBtypename\fP _Pointer = _Tp*, \fBtypename\fP _Reference = _Tp&> \fBtypedef\fP _Pointer \fBstd::iterator\fP< \fB_Category\fP, _Tp, \fB_Distance\fP, _Pointer, _Reference >::pointer" .PP This type represents a pointer-to-value_type\&. .SS "template<\fBtypename\fP \fB_Category\fP , \fBtypename\fP _Tp , \fBtypename\fP \fB_Distance\fP = ptrdiff_t, \fBtypename\fP _Pointer = _Tp*, \fBtypename\fP _Reference = _Tp&> \fBtypedef\fP _Reference \fBstd::iterator\fP< \fB_Category\fP, _Tp, \fB_Distance\fP, _Pointer, _Reference >::reference" .PP This type represents a reference-to-value_type\&. .SS "template<\fBtypename\fP \fB_Category\fP , \fBtypename\fP _Tp , \fBtypename\fP \fB_Distance\fP = ptrdiff_t, \fBtypename\fP _Pointer = _Tp*, \fBtypename\fP _Reference = _Tp&> \fBtypedef\fP _Tp \fBstd::iterator\fP< \fB_Category\fP, _Tp, \fB_Distance\fP, _Pointer, _Reference >::value_type" .PP The type 'pointed to' by the iterator\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.