STD::_FWD_LIST_ITERATOR(3)
β¨ NAME β¨
std::_Fwd_list_iterator< _Tp > β bestie, it's a forward_list::iterator. That's the whole vibe. π
(also hello, you're in section 3 of the Library Functions Manual, welcome to the function-call side of the house π«Ά)
πΈ SYNOPSIS πΈ
#include <forward_list>
π Public Types
typedef _Fwd_list_node< _Tp > _Nodeβ the node type it's cruising around in, lowkey.typedef _Fwd_list_iterator< _Tp > _Selfβ it's giving "me, myself, and I". it refers to itself. iconic.typedef ptrdiff_t difference_typeβ the distance-between-things type,ptrdiff_t, no cap.typedef std::forward_iterator_tag iterator_categoryβ official tag: it's a forward iterator. periodt.typedef _Tp * pointerβ a pointer to_Tp. yes.typedef _Tp & referenceβ a reference to_Tp. also yes.typedef _Tp value_typeβ_Tp. the whole point tbh.
π¦ Public Member Functions
_Fwd_list_iterator (_Fwd_list_node_base *__n) noexceptβ constructor, takes a_Fwd_list_node_base *__n, and it'snoexceptso it will NOT be dramatic. πreference operator* () const noexceptβ dereference it.const,noexcept, chill._Self & operator++ () noexceptβ pre-increment. gives you back a reference to yourself. main character energy._Self operator++ (int) noexceptβ post-increment. hands you a copy of the old you. theintis just a lil dummy tag, it means nothing, we don't talk about it. πpointer operator-> () const noexceptβ arrow operator,const,noexcept, does the member-access thing.
π Friends
template<typename, typename> struct _Fwd_list_baseβ friend π«Άstruct _Fwd_list_const_iterator< _Tp >β friend π«Άtemplate<typename, typename> class forward_listβ friend π«Άbool operator== (const _Self &__x, const _Self &__y) noexceptβ Forward list iterator equality comparison.
π Detailed Description π
template<typename _Tp>
struct std::_Fwd_list_iterator< _Tp >
"A forward_list::iterator.
All the functions are op overloads. (every single one. all ops. all overloaded. that's the bit.) β¨
π Friends And Related Symbol Documentation π
β operator==
template<typename _Tp> bool operator== (const _Self & __x, const _Self & __y) [friend]
Forward list iterator equality comparison. that's it, that's the function, it compares two of these bad boys for equality. slay. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
not me being auto-generated by Doxygen for libstdc++ from the source code π no human wrote this, it just appeared, and honestly? respect.
okay bye bestie, go iterate something πβ¨ β this was section 3 of the Library Functions Manual, brought to you by libstdc++. mwah π
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms