.TH "std::_List_iterator< _Tp >" 3cxx "Thu Feb 16 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 .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 \fB186\fP of file \fBstl_list\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef \fB_List_node\fP<_Tp> \fBstd::_List_iterator\fP< _Tp >::_Node" .PP Definition at line \fB189\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef \fB_List_iterator\fP<_Tp> \fBstd::_List_iterator\fP< _Tp >::_Self" .PP Definition at line \fB188\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef ptrdiff_t \fBstd::_List_iterator\fP< _Tp >::difference_type" .PP Definition at line \fB191\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef \fBstd::bidirectional_iterator_tag\fP \fBstd::_List_iterator\fP< _Tp >::iterator_category" .PP Definition at line \fB192\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef _Tp* \fBstd::_List_iterator\fP< _Tp >::pointer" .PP Definition at line \fB194\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef _Tp& \fBstd::_List_iterator\fP< _Tp >::reference" .PP Definition at line \fB195\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef _Tp \fBstd::_List_iterator\fP< _Tp >::value_type" .PP Definition at line \fB193\fP of file \fBstl_list\&.h\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 \fB197\fP of file \fBstl_list\&.h\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 \fB201\fP of file \fBstl_list\&.h\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 \fB205\fP of file \fBstl_list\&.h\fP\&. .SS "template reference \fBstd::_List_iterator\fP< _Tp >::operator* () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB210\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP & \fBstd::_List_iterator\fP< _Tp >::operator++ ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB218\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP \fBstd::_List_iterator\fP< _Tp >::operator++ (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB225\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP & \fBstd::_List_iterator\fP< _Tp >::operator\-\- ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB233\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP \fBstd::_List_iterator\fP< _Tp >::operator\-\- (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB240\fP of file \fBstl_list\&.h\fP\&. .SS "template pointer \fBstd::_List_iterator\fP< _Tp >::operator\-> () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB214\fP of file \fBstl_list\&.h\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 \fB253\fP of file \fBstl_list\&.h\fP\&. .SS "template bool operator== (const \fB_Self\fP & __x, const \fB_Self\fP & __y)\fC [friend]\fP" .PP Definition at line \fB248\fP of file \fBstl_list\&.h\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 \fB258\fP of file \fBstl_list\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.