__GNU_PBDS::DETAIL::PAT_TRIE_BASE__HEAD(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 6 versions
, in arch rolling, fedora 44

🌸 NAME 🌸

bestie, say hi to __gnu_pbds::detail::pat_trie_base::_Head< _ATraits, Metadata > β€” she's the Head node for PATRICIA tree πŸ’… this is the <__gnu_pbds...Metadata >(3) page from the Library Functions Manual, and yes we're gonna read the whole thing together, no skimming πŸ™ˆ


✨ SYNOPSIS ✨

okay so first things first, you gotta pull her in:

#include <pat_trie_base.hpp>

and she Inherits from __gnu_pbds::detail::pat_trie_base::_Node_base< _ATraits, Metadata > β€” that's her whole lineage, we love a girl with good parents 🫢

πŸ’– Public Types πŸ’–

the typdefs, the whole squad, in order:

  • typedef _ATraits::const_iterator a_const_iterator
  • typedef detail::rebind_traits< _Alloc, _ATraits >::const_pointer a_const_pointer
  • typedef _ATraits access_traits
  • typedef _Alloc allocator_type
  • typedef _Node_base< _ATraits, Metadata > base_type
  • typedef base_type::node_pointer node_pointer
  • typedef base_type::type_traits type_traits

seven of them, all present and accounted for, not a single one left behind ✨

πŸŽ€ Public Attributes πŸŽ€

her member variables, the actual main characters:

  • node_pointer m_p_max
  • node_pointer m_p_min
  • node_pointer m_p_parent
  • const node_type m_type

look at m_type being const β€” she knows who she is and she is NOT changing for anybody πŸ‘‘

πŸ¦‹ Detailed Description πŸ¦‹

here's the real tea, the declaration itself:

template<typename _ATraits, typename Metadata>
    struct __gnu_pbds::detail::pat_trie_base::_Head< _ATraits, Metadata >

and what is she, in one line? Head node for PATRICIA tree. that's it, that's the whole vibe β€” the head node, the one at the top of the PATRICIA tree, holding it down πŸ’œ

ngl the original page literally has a stray quote mark hanging off the end of that description line. it's giving "typo that nobody ever fixed." not me noticing, but also not me fixing it, because we preserve the facts around here ✨

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.

not a human author, not a byline, just Doxygen doing her little documentation thing πŸ€–πŸ’… so if you have beef with the wording, take it up with the generator, bestie.


and that's the page, fr fr πŸ’–βœ¨

cute little sign-off for you: this one's shipped as part of libstdc++, dated the same as the page footer says, and the running title is that same <__gnu_pbds...Metadata >(3) header up top πŸŽ€ go forth and build your PATRICIA trees, icon, you got this πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms