.TH "std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference >" 3cxx "Tue Jul 18 2023" "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 .SS "Public Types" .in +1c .ti -1c .RI "typedef _Distance \fBdifference_type\fP" .br .RI "Distance between iterators is represented as this type\&. " .ti -1c .RI "typedef _Category \fBiterator_category\fP" .br .RI "One of the \fBtag types\fP\&. " .ti -1c .RI "typedef _Pointer \fBpointer\fP" .br .RI "This type represents a pointer-to-value_type\&. " .ti -1c .RI "typedef _Reference \fBreference\fP" .br .RI "This type represents a reference-to-value_type\&. " .ti -1c .RI "typedef _Tp \fBvalue_type\fP" .br .RI "The type 'pointed to' by the iterator\&. " .in -1c .SH "Detailed Description" .PP .SS "template .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 typedef _Distance \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::difference_type" .PP Distance between iterators is represented as this type\&. .SS "template typedef _Category \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::iterator_category" .PP One of the \fBtag types\fP\&. .SS "template typedef _Pointer \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::pointer" .PP This type represents a pointer-to-value_type\&. .SS "template typedef _Reference \fBstd::iterator\fP< _Category, _Tp, _Distance, _Pointer, _Reference >::reference" .PP This type represents a reference-to-value_type\&. .SS "template typedef _Tp \fBstd::iterator\fP< _Category, _Tp, _Distance, _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\&.