STD::__FWDLIST__ITERATOR(3cxx)

πŸ“¦ version 16-20260322, in ubuntu resolute, ubuntu stonking

πŸ’– std::__fwdlist::_Iterator< _Const, _Ptr > πŸ’–

okay bestie, welcome to the <3cxx> manual section, this is the page for std::__fwdlist::_Iterator< _Const, _Ptr > and it's literally the iterator for forward_list when your allocator is out here using fancy pointers. yes. fancy. pointers. we love a dramatic allocator. πŸŽ€


✨ NAME ✨

std::__fwdlist::_Iterator< _Const, _Ptr > β€” a forward_list iterator for when the allocator uses fancy pointers. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <forward_list>

πŸ‘‘ Public Types πŸ‘‘

  • difference_type
  • iterator_category
  • pointer
  • reference
  • value_type

🌸 Public Member Functions 🌸

  • constexpr _Iterator (_Base_ptr __x) noexcept
  • _Iterator (const _Iterator &)=default
  • constexpr _Iterator (const _Iterator< false, _Ptr > &__i)
  • constexpr reference operator* () const noexcept
  • constexpr _Iterator & operator++ () noexcept
  • constexpr _Iterator operator++ (int) noexcept
  • constexpr pointer operator-> () const noexcept
  • _Iterator & operator= (const _Iterator &)=default

🫢 Friends 🫢

  • template<typename _Tp, typename _Allocator> struct ::_Fwd_list_base
  • template<typename _Tp, typename _Allocator> class ::forward_list
  • constexpr bool operator== (const _Iterator &__x, const _Iterator &__y) noexcept β€” forward list iterator equality comparison. yes that's the whole vibe of it. comparing two iterators. iconic. ✨

πŸ’œ Detailed Description πŸ’œ

template<bool _Const, typename _Ptr>
class std::__fwdlist::_Iterator< _Const, _Ptr >

"A forward_list iterator when the allocator uses fancy pointers." πŸ’€ no cap, that's the entire description and honestly? it ate. it says exactly what it needs to say and dips. main character energy fr fr.


template<bool _Const, typename _Ptr> bool operator== (const _Iterator< _Const, _Ptr > & __x, const _Iterator< _Const, _Ptr > & __y) [friend]

Forward list iterator equality comparison. it's giving "are these two the same or not" and honestly same bestie. πŸ”₯


⭐ Author ⭐

Generated automatically by Doxygen for libstdc++ from the source code. not a human, just a robot doing its little documentation dance. we respect the hustle. 🧚


and that's the page!! this one came from libstdc++ (the 3cxx manual, the C++ corner of the std::__fwdlist family) β€” so if you ever see that footer, that's just where this beauty lives. mwah, go read your forward_list docs bestie πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from