STD::_FWD_LIST_ITERATOR(3cxx)
π
std::_Fwd_list_iterator< _Tp > β the forward_list iterator page π
okay bestie, welcome to the std::_Fwd_list_iterator< _Tp >(3cxx) page from libstdc++ β yes, the manual-name energy is folded in right here at the top like a little ribbon π. This is the iterator bestie for forward_list.
πΈ NAME πΈ
std::_Fwd_list_iterator< _Tp > β literally A forward_list::iterator. Short, sweet, iconic β¨.
β¨ SYNOPSIS β¨
#include <forward_list>
π Public Types π
_Nodeβtypedef _Fwd_list_node< _Tp > _Node_Selfβtypedef _Fwd_list_iterator< _Tp > _Selfdifference_typeβtypedef ptrdiff_t difference_typeiterator_categoryβtypedef std::forward_iterator_tag iterator_categorypointerβtypedef _Tp * pointerreferenceβtypedef _Tp & referencevalue_typeβtypedef _Tp value_type
π«Ά Public Member Functions π«Ά
- the constructor β
_Fwd_list_iterator (_Fwd_list_node_base *__n) noexcept _M_nextβ_Self _M_next () const noexceptoperator*βreference operator* () const noexceptoperator++β_Self & operator++ () noexceptoperator++withintβ_Self operator++ (int) noexceptoperator->βpointer operator-> () const noexcept
π Public Attributes π
_M_nodeβ_Fwd_list_node_base * _M_node
π¦ Friends π¦
operator==βbool operator== (const _Self &__x, const _Self &__y) noexceptForward list iterator equality comparison.
π Detailed Description π
okay so hereβs the struct declaration exactly as written β weird little quote and all, because we keep the facts, bestie:
template<typename _Tp>
struct std::_Fwd_list_iterator< _Tp >"A forward_list::iterator.
And the docs drop this line: All the functions are op overloads. π
π Friends And Related Symbol Documentation π
template<typename _Tp > bool operator== (const _Self & __x, const _Self &
__y) [friend]
Forward list iterator equality comparison.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
So yes, Doxygen did the typing, libstdc++ gets the credit π«Ά.
mwah π β sign-off time: this page is from libstdc++, std::_Fwd_list_iterator< _Tp >(3cxx), cxx man page vibes, Doxygen-generated, with no date listed. Thatβs the footer folded into a cute little bow instead of the boring last line ππ
π¦ 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