STD::__DETAIL::_HASH_NODE_VALUE_BASE(3cxx)
π NAME π
std::__detail::_Hash_node_value_base< _Value > β bestie, this is the little glow-up node type that holds the actual value your hash table is storing. She's the base class, she's the vibe, she's literally carrying your data. π
β¨ SYNOPSIS β¨
#include <hashtable_policy.h>
She inherits from std::__detail::_Hash_node_base.
And she gets inherited by std::__detail::_Hash_node< _Value, false > and std::__detail::_Hash_node< _Value, true >. So yeah, two iconic daughters, both slaying in their own lane. π
πΈ Public Types πΈ
typedef _Value value_typeβ the type of the thing she's holding. That's it. That's the whole personality trait. π
π Public Member Functions π
const _Value & _M_v () const noexceptβ hands you back a const ref to the stored value. Look, don't touch. π_Value & _M_v () noexceptβ the non-const version, so now you can touch. Go off. π₯const _Value * _M_valptr () const noexceptβ gives you a const pointer to where the value lives. Peek through the window, no fingerprints._Value * _M_valptr () noexceptβ non-const pointer to the value. Full access, main character energy. β¨
π¦ Public Attributes π¦
_Hash_node_base * _M_nxtβ the pointer to the next node. She's linked, fr fr. π__gnu_cxx::__aligned_buffer< _Value > _M_storageβ the actual aligned storage buffer where the value is kept. This is her little pocket, properly aligned, no misaligned chaos allowed. π
π Detailed Description π
template<typename _Value>
struct std::__detail::_Hash_node_value_base< _Value >"struct
_Hash_node_value_base
Node type with the value to store. That's the whole thing β she exists to hold a value inside a hash node, and she does it with immaculate structural discipline. No cap. π
π«Ά Author π«Ά
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a girlie, just a doc generator doing her little autogenerated thing. π
Okay that's the whole page bestie π β this one's straight out of libstdc++'s docs, and yeah, the header and footer both say libstdc++ and the man page lives in section 3cxx for libstdc++-v3. Go read the source if you want more lore, iykyk. πβ¨
π¦ 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