.TH "std::_List_const_iterator< _Tp >" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::_List_const_iterator< _Tp > \- A list::const_iterator\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef const \fB_List_node\fP< _Tp > \fB_Node\fP" .br .ti -1c .RI "typedef \fB_List_const_iterator\fP< _Tp > \fB_Self\fP" .br .ti -1c .RI "typedef ptrdiff_t \fBdifference_type\fP" .br .ti -1c .RI "typedef \fB_List_iterator\fP< _Tp > \fBiterator\fP" .br .ti -1c .RI "typedef \fBstd::bidirectional_iterator_tag\fP \fBiterator_category\fP" .br .ti -1c .RI "typedef const _Tp * \fBpointer\fP" .br .ti -1c .RI "typedef const _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_const_iterator\fP (const \fB__detail::_List_node_base\fP *__x) noexcept" .br .ti -1c .RI "\fB_List_const_iterator\fP (const \fBiterator\fP &__x) noexcept" .br .ti -1c .RI "\fBiterator\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 "const \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_const_iterator< _Tp >"A list::const_iterator\&. All the functions are op overloads\&. .PP Definition at line \fB267\fP of file \fBstl_list\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef const \fB_List_node\fP<_Tp> \fBstd::_List_const_iterator\fP< _Tp >::_Node" .PP Definition at line \fB270\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef \fB_List_const_iterator\fP<_Tp> \fBstd::_List_const_iterator\fP< _Tp >::_Self" .PP Definition at line \fB269\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef ptrdiff_t \fBstd::_List_const_iterator\fP< _Tp >::difference_type" .PP Definition at line \fB273\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef \fB_List_iterator\fP<_Tp> \fBstd::_List_const_iterator\fP< _Tp >::iterator" .PP Definition at line \fB271\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef \fBstd::bidirectional_iterator_tag\fP \fBstd::_List_const_iterator\fP< _Tp >::iterator_category" .PP Definition at line \fB274\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef const _Tp* \fBstd::_List_const_iterator\fP< _Tp >::pointer" .PP Definition at line \fB276\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef const _Tp& \fBstd::_List_const_iterator\fP< _Tp >::reference" .PP Definition at line \fB277\fP of file \fBstl_list\&.h\fP\&. .SS "template typedef _Tp \fBstd::_List_const_iterator\fP< _Tp >::value_type" .PP Definition at line \fB275\fP of file \fBstl_list\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBstd::_List_const_iterator\fP< _Tp >::_List_const_iterator ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB279\fP of file \fBstl_list\&.h\fP\&. .SS "template \fBstd::_List_const_iterator\fP< _Tp >::_List_const_iterator (const \fB__detail::_List_node_base\fP * __x)\fC [inline]\fP, \fC [explicit]\fP, \fC [noexcept]\fP" .PP Definition at line \fB283\fP of file \fBstl_list\&.h\fP\&. .SS "template \fBstd::_List_const_iterator\fP< _Tp >::_List_const_iterator (const \fBiterator\fP & __x)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB287\fP of file \fBstl_list\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "template \fBiterator\fP \fBstd::_List_const_iterator\fP< _Tp >::_M_const_cast () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB291\fP of file \fBstl_list\&.h\fP\&. .SS "template reference \fBstd::_List_const_iterator\fP< _Tp >::operator* () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB296\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP & \fBstd::_List_const_iterator\fP< _Tp >::operator++ ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB304\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP \fBstd::_List_const_iterator\fP< _Tp >::operator++ (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB311\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP & \fBstd::_List_const_iterator\fP< _Tp >::operator\-\- ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB319\fP of file \fBstl_list\&.h\fP\&. .SS "template \fB_Self\fP \fBstd::_List_const_iterator\fP< _Tp >::operator\-\- (int)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB326\fP of file \fBstl_list\&.h\fP\&. .SS "template pointer \fBstd::_List_const_iterator\fP< _Tp >::operator\-> () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB300\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 \fB339\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 \fB334\fP of file \fBstl_list\&.h\fP\&. .SH "Member Data Documentation" .PP .SS "template const \fB__detail::_List_node_base\fP* \fBstd::_List_const_iterator\fP< _Tp >::_M_node" .PP Definition at line \fB344\fP of file \fBstl_list\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.