STD::_FWD_LIST_CONST_ITERATOR(3cxx)
π std::_Fwd_list_const_iterator< _Tp > π
okay so this is the 3cxx manual page for std::_Fwd_list_const_iterator< _Tp >, bestie. It's the const iterator for forward_list, and it is lowkey giving βI know where the nodes are, but I will not let you touch themβ energy. No cap.
πΈ NAME πΈ
std::_Fwd_list_const_iterator< _Tp > β a forward_list::const_iterator. That's the name drop, slay.
β¨ SYNOPSIS β¨
#include <forward_list>
π Public Types π
typedef const _Fwd_list_node< _Tp > _Nodeβ the_Nodetypedef, exactly as written.typedef _Fwd_list_const_iterator< _Tp > _Selfβ the_Selftypedef, aka βhi, that's me.βtypedef ptrdiff_t difference_typeβdifference_typeis literallyptrdiff_t.typedef _Fwd_list_iterator< _Tp > iteratorβ theiteratortypedef, pointing at_Fwd_list_iterator< _Tp >.typedef std::forward_iterator_tag iterator_categoryβ category tag:std::forward_iterator_tag, periodt.typedef const _Tp * pointerβ thepointertypedef isconst _Tp *.typedef const _Tp & referenceβ thereferencetypedef isconst _Tp &.typedef _Tp value_typeβvalue_typeis_Tp. iconic.
π Public Member Functions π
_Fwd_list_const_iterator (const _Fwd_list_node_base *__n) noexceptβ constructor fromconst _Fwd_list_node_base *__n, and yes it'snoexcept._Fwd_list_const_iterator (const iterator &__iter) noexceptβ constructor fromconst iterator &__iter, alsonoexcept._Self _M_next () const noexceptβ returns_Self, isconst, and isnoexcept.reference operator* () const noexceptβ dereference returnsreference, isconst,noexcept._Self & operator++ () noexceptβ pre-increment returns_Self &,noexcept._Self operator++ (int) noexceptβ post-increment returns_Self,noexcept.pointer operator-> () const noexceptβ arrow returnspointer, isconst,noexcept.
π¦ Public Attributes π¦
const _Fwd_list_node_base * _M_nodeβ the public attribute, exactly that. main character data member energy.
π Friends π
bool operator== (const _Self &__x, const _Self &__y) noexceptβ forward list const_iterator equality comparison. Friend behavior, fr fr.
π Detailed Description π
template<typename _Tp>
struct std::_Fwd_list_const_iterator< _Tp >
A forward_list::const_iterator.
All the functions are op overloads. That's the whole vibe: every function here is an operator overload, bestie. π
π§ Friends And Related Symbol Documentation π§
β operator== β
template<typename _Tp >
bool operator== (const _Self & __x, const _Self & __y) [friend]
Forward list const_iterator equality comparison. It compares __x and __y, and yes it's marked [friend].
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So not a human author, bestie β Doxygen did the typing. π
π mwah, that's the whole page. Source/version energy:libstdc++, auto-generated by Doxygen from the source code. Footer tag:libststd::_Fwd_list_...iterator< _Tp >(3cxx). No separate date is printed on this page, so I'm not inventing one β periodt. π
π¦ 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