STD::__DETAIL::_NODE_CONST_ITERATOR(3cxx)
π NAME π
std::__detail::_Node_const_iterator< _Value, __constant_iterators, __cache > β bestie, this is the Node const_iterators, and their whole entire job is iterating through all the hashtable. no cap. π«Ά
β¨ SYNOPSIS β¨
#include <hashtable_policy.h>
It Inherits std::__detail::_Node_iterator_base< _Value, __cache >. iconic behaviour, honestly. π
π Public Types π
typedef std::ptrdiff_t difference_typeβ the difference type, for when you're measuring the gap between two of these. π«typedef std::forward_iterator_tag iterator_categoryβ it's tagged as a forward iterator. the way it just is a forward iterator. πΈtypedef const _Value * pointerβ a pointer to a const_Value. note the const, she's committed to it. πtypedef const _Value & referenceβ and a reference to a const_Value. same energy. β¨typedef _Value value_typeβ the_Valueitself, unadorned. the main character. πtypedef std::forward_iterator_tag iterator_categoryβ wait, no, that was already up there. one entry only, don't come for me. π
(okay actually the list is exactly five, here it is again clean:)
typedef std::ptrdiff_t difference_typetypedef std::forward_iterator_tag iterator_categorytypedef const _Value * pointertypedef const _Value & referencetypedef _Value value_type
π¦ Public Member Functions π¦
_Node_const_iterator (__node_type *__p) noexceptβ build one of these from a node pointer. and it'snoexcept, so it's literally not gonna throw at you. π_Node_const_iterator (const _Node_iterator< _Value, __constant_iterators, __cache > &__x) noexceptβ and here's the glow-up conversion: build one from a_Node_iteratorof the matching_Value,__constant_iteratorsand__cache. alsonoexcept. π₯void _M_incr () noexceptβ the internal little step-forward helper.noexcept, obviously. π§reference operator* () const noexceptβ dereference her, get yourreferenceout.const,noexcept. π_Node_const_iterator & operator++ () noexceptβ pre-increment, returns a reference to yourself.noexcept. β_Node_const_iterator operator++ (int) noexceptβ post-increment, takes anintand hands back a copy.noexcept. π¦pointer operator-> () const noexceptβ arrow operator, gives you thepointer.const,noexcept. π
πΈ Public Attributes πΈ
__node_type * _M_curβ the current node pointer, just vibing out in the open as a public attribute. π
π Detailed Description π
template<typename _Value, bool __constant_iterators, bool __cache>
struct std::__detail::_Node_const_iterator< _Value,
__constant_iterators, __cache >
"Node const_iterators, used to iterate through all the hashtable.
that's the whole description. short, sweet, ate. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. not a human, not a girlie, just a doc generator doing its thing. π€β¨
lowkey reminder bestie: this page islibstdc++and it lives in section3cxxof the manual. that's the whole footer vibe β no date drama, just the library and the section. mwah. π ππ«Ά
π¦ where this page comes from
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms