std::__detail::_Hash_node_base(3cxx)

πŸ’– std::__detail::_Hash_node_base πŸ’–

okay bestie, welcome to the 3cxx manual, this one's a libstdc++ internals page and it is lowkey iconic for what it is πŸŽ€


✨ NAME ✨

std::__detail::_Hash_node_base β€” the tiny base struct that hash table nodes are built on top of, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

#include <hashtable_policy.h>

Inherited by std::__detail::_Hash_node_value_base< _Value >.


πŸ‘‘ Public Member Functions πŸ‘‘

  • _Hash_node_base (_Hash_node_base *__next) noexcept β€” constructor, takes a pointer to the next node, and it's noexcept so she will not be throwing, periodt.

🫢 Public Attributes 🫢

  • _Hash_node_base * _M_nxt β€” the pointer to the next node. that's the whole vibe right there πŸ’…

🧚 Detailed Description 🧚

struct _Hash_node_base

okay so real talk: these are the nodes, used to wrap elements stored in the hash table. A policy template parameter of class template _Hashtable controls whether nodes also store a hash code. In some cases (e.g. strings) this may be a performance win. slay ✨


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for libstdc++ from the source code. πŸ€– (yes bestie, a robot wrote the author line, and honestly? she ate.)


not me reading a Doxygen-generated internals page for fun πŸ’€ anyway this is the 3cxx manual from libstdc++, and that's the whole page, i love that for us 🌈

mwah, go read some headers, ily πŸŽ€πŸ’–

πŸ“¦ where this page comes from