STD::_LIST_ITERATOR(3cxx)
π NAME π
okay so welcome to the std::_List_iterator< _Tp >(3cxx) page, bestie! std::_List_iterator< _Tp > is β drumroll β A list::iterator. That's the whole name. slay. π¦
β¨ SYNOPSIS β¨
#include <list>
π Public Types π
the type squad, no cap:
typedef _List_node< _Tp > _Nodetypedef _List_iterator< _Tp > _Selftypedef ptrdiff_t difference_typetypedef std::bidirectional_iterator_tag iterator_categorytypedef _Tp * pointertypedef _Tp & referencetypedef _Tp value_type
π Public Member Functions π
all of these are exactly what's on the invite, noexcept and all:
_List_iterator (__detail::_List_node_base *__x) noexcept_Self _M_const_cast () const noexceptreference operator* () const noexcept_Self & operator++ () noexcept_Self operator++ (int) noexcept_Self & operator-- () noexcept_Self operator-- (int) noexceptpointer operator-> () const noexcept
πΈ Public Attributes πΈ
__detail::_List_node_base * _M_node
π«Ά Friends π«Ά
bool operator== (const _Self &__x, const _Self &__y) noexcept
π§ Detailed Description π§
okay so the template is:
template<typename _Tp>
struct std::_List_iterator< _Tp >"A list::iterator.
yes, the "A list::iterator. is right there in the line, bestie β we do not edit the source. π
And the tea: All the functions are op overloads.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
cute sign-off: source/version in the footer is libstdc++, and the date? not shown on this page, so no cap, I'm not inventing one. byeee π
β¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms