STD::__DETAIL::_LOCAL_ITERATOR(3cxx)

okay bestie, this is the 3cxx manual page for std::__detail::_Local_iterator πŸ’…. it's giving local iterators, and it's very template, very internal. let's get into it, no cap.

πŸ’– NAME πŸ’–

std::__detail::_Local_iterator< _Key, _Value, _ExtractKey, _H1, _H2, _Hash, __constant_iterators, __cache > β€” local iterators ✨


✨ SYNOPSIS ✨

#include <hashtable_policy.h>

Inherits std::__detail::_Local_iterator_base< _Key, _Value, _ExtractKey,
    _H1, _H2, _Hash, __cache >.

πŸŽ€ Public Types πŸŽ€

  • typedef std::ptrdiff_t difference_type β€” the difference type, periodt. πŸ’…
  • typedef std::forward_iterator_tag iterator_category β€” iterator category, iconic. πŸ¦‹
  • the pointer type, lowkey conditional:
typedef std::conditional< __constant_iterators, const_Value *, _Value *
    >::type pointer
  • the reference type, also conditional:
typedef std::conditional< __constant_iterators, const_Value &, _Value &
    >::type reference
  • typedef _Value value_type β€” value type, simple. ✨

πŸ¦‹ Public Member Functions πŸ¦‹

  • _Local_iterator (const __hash_code_base &__base, _Hash_node< _Value, __cache > *__n, std::size_t __bkt, std::size_t __bkt_count) β€” the constructor, bestie. takes a __hash_code_base, a _Hash_node, and two std::size_ts. 🫢
  • reference operator* () const β€” dereference operator, returns a reference. πŸ’–
  • _Local_iterator & operator++ () β€” pre-increment, returns _Local_iterator&. πŸ”₯
  • _Local_iterator operator++ (int) β€” post-increment, returns _Local_iterator. πŸ”₯
  • pointer operator-> () const β€” arrow operator, returns a pointer. πŸ’…

🌸 Detailed Description 🌸

okay so here's the full template declaration, exactly as it is, no cap:

template<typename _Key, typename _Value, typename _ExtractKey, typename _H1,
    typename _H2, typename _Hash, bool __constant_iterators, bool __cache>
struct std::__detail::_Local_iterator< _Key, _Value, _ExtractKey, _H1,
    _H2, _Hash, __constant_iterators, __cache >"local iterators

local iterators, that's the vibe. πŸ’«


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. so not a human, but still iconic. πŸ€–βœ¨


and that's the whole thing, bestie. this page came from libstdc++ and the 3cxx manual, auto-generated by Doxygen. no date, just vibes. bye πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from