.TH "std::_List_iterator< _Tp >" 3cxx "Sun Jan 8 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::_List_iterator< _Tp > \- A list::iterator\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef \fB_List_node\fP< _Tp > \fB_Node\fP" .br .ti -1c .RI "typedef \fB_List_iterator\fP< _Tp > \fB_Self\fP" .br .ti -1c .RI "typedef ptrdiff_t \fBdifference_type\fP" .br .ti -1c .RI "typedef \fBstd::bidirectional_iterator_tag\fP \fBiterator_category\fP" .br .ti -1c .RI "typedef _Tp * \fBpointer\fP" .br .ti -1c .RI "typedef _Tp & \fBreference\fP" .br .ti -1c .RI "typedef _Tp \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fB_List_iterator\fP (\fB__detail::_List_node_base\fP *__x) noexcept" .br .ti -1c .RI "\fB_Self\fP \fB_M_const_cast\fP () const noexcept" .br .ti -1c .RI "reference \fBoperator*\fP () const noexcept" .br .ti -1c .RI "\fB_Self\fP & \fBoperator++\fP () noexcept" .br .ti -1c .RI "\fB_Self\fP \fBoperator++\fP (int) noexcept" .br .ti -1c .RI "\fB_Self\fP & \fBoperator\-\-\fP () noexcept" .br .ti -1c .RI "\fB_Self\fP \fBoperator\-\-\fP (int) noexcept" .br .ti -1c .RI "pointer \fBoperator\->\fP () const noexcept" .br .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "\fB__detail::_List_node_base\fP * \fB_M_node\fP" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "bool \fBoperator==\fP (const \fB_Self\fP &__x, const \fB_Self\fP &__y) noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br struct std::_List_iterator< _Tp >"A list::iterator\&. All the functions are op overloads\&. .PP Definition at line \fB253\fP of file \fBlist\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef \fB_List_node\fP<_Tp> \fBstd::_List_iterator\fP< _Tp >::_Node" .PP Definition at line \fB256\fP of file \fBlist\fP\&. .SS "template typedef \fB_List_iterator\fP<_Tp> \fBstd::_List_iterator\fP< _Tp >::_Self" .PP Definition at line \fB255\fP of file \fBlist\fP\&. .SS "template typedef ptrdiff_t \fBstd::_List_iterator\fP< _Tp >::difference_type" .PP Definition at line \fB258\fP of file \fBlist\fP\&. .SS "template typedef \fBstd::bidirectional_iterator_tag\fP \fBstd::_List_iterator\fP< _Tp >::iterator_category" .PP Definition at line \fB259\fP of file \fBlist\fP\&. .SS "template typedef _Tp* \fBstd::_List_iterator\fP< _Tp >::pointer" .PP Definition at line \fB261\fP of file \fBlist\fP\&. .SS "template typedef _Tp& \fBstd::_List_iterator\fP< _Tp >::reference" .PP Definition at line \fB262\fP of file \fBlist\fP\&. .SS "template typedef _Tp \fBstd::_List_iterator\fP< _Tp >::value_type" .PP Definition at line \fB260\fP of file \fBlist\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBstd::_List_iterator\fP< _Tp >::_List_iterator ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB264\fP of file \fBlist\fP\&. .SS "template \fBstd::_List_iterator\fP< _Tp >::_List_iterator (\fB__detail::_List_node_base\fP * __x)\fC [inline]\fP, \fC [explicit]\fP, \fC [noexcept]\fP" .PP Definition at line \fB268\fP of file \fBlist\fP\&. .SH "Member Function Documentation" .PP .SS "template \fB_Self\fP \fBstd::_List_iterator\fP< _Tp >::_M_const_cast () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB272\fP of file \fBlist\fP\&. .SS "template reference \fBstd::_List_iterator\fP< _Tp >::operator* () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB278\fP of file \fBlist\fP\&. .SS "template \fB_Self\fP & \fBstd::_List_iterator\fP< _Tp >::operator++ ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB287\fP of file \fBlist\fP\&. .SS "template \fB_Self\fP \fBstd::_List_iterator\fP< _Tp >::operator++ (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB294\fP of file \fBlist\fP\&. .SS "template \fB_Self\fP & \fBstd::_List_iterator\fP< _Tp >::operator\-\- ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB302\fP of file \fBlist\fP\&. .SS "template \fB_Self\fP \fBstd::_List_iterator\fP< _Tp >::operator\-\- (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB309\fP of file \fBlist\fP\&. .SS "template pointer \fBstd::_List_iterator\fP< _Tp >::operator\-> () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB283\fP of file \fBlist\fP\&. .SH "Friends And Related Function Documentation" .PP .SS "template bool operator== (const \fB_Self\fP & __x, const \fB_Self\fP & __y)\fC [friend]\fP" .PP Definition at line \fB318\fP of file \fBlist\fP\&. .SH "Member Data Documentation" .PP .SS "template \fB__detail::_List_node_base\fP* \fBstd::_List_iterator\fP< _Tp >::_M_node" .PP Definition at line \fB329\fP of file \fBlist\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.