STD::__FWDLIST__ITERATOR(3)
β¨ NAME β¨
okay bestie, meet the icon: std::__fwdlist::_Iterator< _Const, _Ptr > β a forward_list iterator for when the allocator is out here using fancy pointers. yes that's the whole vibe. she's an iterator. she's fancy. periodt. π
π¦ SYNOPSIS π¦
#include <forward_list>
πΈ Public Types
using difference_typeusing iterator_categoryusing pointerusing referenceusing value_type
π Public Member Functions
constexpr _Iterator (_Base_ptr __x) noexceptβ build a whole iterator out of a base pointer, and it'snoexceptso no drama._Iterator (const _Iterator &)=defaultβ copy constructor, just default behaviour, nothing extra added.constexpr _Iterator (const _Iterator< false, _Ptr > &__i)β the conversion moment: turning a non-const iterator into... well, the other flavour. glow-up energy. β¨constexpr reference operator* () const noexceptβ deref her and get areferenceback,noexcept, no chaos.constexpr _Iterator & operator++ () noexceptβ prefix++, moves forward, returns you (_Iterator &),noexcept. slay.constexpr _Iterator operator++ (int) noexceptβ postfix++, hands you back a copy of where you were,noexcept.constexpr pointer operator-> () const noexceptβ arrow access, gives you apointer,noexcept._Iterator & operator= (const _Iterator &)=defaultβ assignment, defaulted, no notes.
π Friends
template<typename _Tp, typename _Allocator> struct ::_Fwd_list_basetemplate<typename _Tp, typename _Allocator> class ::forward_listconstexpr bool operator== (const _Iterator &__x, const _Iterator &__y) noexceptβ forward list iterator equality comparison. (yes bestie, that's literally what the docs say it does π)
π Detailed Description π
template<bool _Const, typename _Ptr>
class std::__fwdlist::_Iterator< _Const, _Ptr >
"A forward_list iterator when the allocator uses fancy pointers."
she said it herself. that's the whole description, and honestly? she ate. π₯
π«Ά Friends And Related Symbol Documentation π«Ά
template<bool _Const, typename _Ptr>
bool operator== (const _Iterator< _Const, _Ptr > & __x, const _Iterator< _Const, _Ptr > & __y) [friend]
Forward list iterator equality comparison. yep β that's the friend operator==, and its entire documented job is comparing two forward list iterators for equality. no cap. π¦
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. like, nobody hand-wrote this, the robot did it, and we respect the robot's hustle. π€π
mwah, that's a wrap π this lil page lives in the Library Functions Manual and it's brought to you by libstdc++ β go forth and iterate forward (never backward, she doesn't do that) β¨ππ¦
π¦ 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