__GNU_PBDS::DETAIL::PAT_TRIE_BASE__INODE(3)

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

✨ __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata > ✨

okay so bestie, welcome to the Library Functions Manual πŸ’– β€” this one lives in section 3, and it's all about a lil' internal node type for a PATRICIA tree. yes, the whole vibe is "I'm a secret lil' building block," and honestly? iconic of it. πŸ‘‘


🌸 NAME 🌸

__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata > β€” the Internal node type for the PATRICIA tree. that's the whole personality. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <pat_trie_base.hpp>

Inherits __gnu_pbds::detail::pat_trie_base::_Node_base< _ATraits, Metadata >. yes it's giving nepo baby but in a template-inheritance way, and it's valid. πŸ’…


πŸ’œ Classes πŸ’œ

  • struct const_iterator β€” a Constant child iterator. it looks, it does not touch. respectful. 🫢
  • struct iterator β€” the Child iterator. it looks AND it moves. main character energy fr. ⭐

🧚 Public Types 🧚

  • enum { arr_size }
  • typedef detail::rebind_traits< _Alloc, node_pointer > __rebind_np
  • typedef base_type::allocator_type _Alloc
  • typedef base_type::access_traits access_traits
  • typedef _Alloc allocator_type
  • typedef _Node_base< _ATraits, Metadata > base_type
  • typedef __rebind_np::pointer node_pointer_pointer
  • typedef __rebind_np::reference node_pointer_reference
  • typedef _Alloc::size_type size_type
  • typedef base_type::type_traits type_traits
  • typedef type_traits::value_type value_type

look at all these typedefs bestie, it's a whole wardrobe change πŸ’– every single one matters, don't skip a single fit.


🌈 Public Member Functions 🌈

  • _Inode (size_type, const a_const_iterator)
  • node_pointer add_child (node_pointer, a_const_iterator, a_const_iterator, a_const_pointer)
  • iterator begin ()
  • const_iterator begin () const
  • iterator end ()
  • const_iterator end () const
  • iterator get_child_it (a_const_iterator, a_const_iterator, a_const_pointer)
  • node_pointer get_child_node (a_const_iterator, a_const_iterator, a_const_pointer)
  • node_const_pointer get_child_node (a_const_iterator, a_const_iterator, a_const_pointer) const
  • size_type get_e_ind () const
  • node_const_pointer get_join_child (node_const_pointer, a_const_pointer) const
  • node_pointer get_join_child (node_pointer, a_const_pointer)
  • node_pointer get_lower_bound_child_node (a_const_iterator, a_const_iterator, size_type, a_const_pointer)
  • leaf_pointer leftmost_descendant ()
  • leaf_const_pointer leftmost_descendant () const
  • a_const_iterator pref_b_it () const
  • a_const_iterator pref_e_it () const
  • void remove_child (iterator)
  • void remove_child (node_pointer)
  • void replace_child (node_pointer, a_const_iterator, a_const_iterator, a_const_pointer)
  • leaf_pointer rightmost_descendant ()
  • leaf_const_pointer rightmost_descendant () const
  • bool should_be_mine (a_const_iterator, a_const_iterator, size_type, a_const_pointer) const
  • void update_prefixes (a_const_pointer)

twenty-four functions, no cap. every single one is here, exactly as written, because we do NOT erase the boring parts in this house. 😀


⭐ Public Attributes ⭐

  • node_pointer m_p_parent β€” the parent pointer, the family tree link, the "who brought me here" energy. 🌳
  • const node_type m_type β€” the type, and it's const, so it is NOT changing for anybody. periodt. πŸ’…

πŸ¦‹ Detailed Description πŸ¦‹

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

Internal node type, PATRICIA tree. that's it, that's the whole description, and it ate. πŸ”₯


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. so technically the author is a robot and honestly? she understood the assignment. 🫢


and that's a wrap bestie ✨ this page came from the libstdc++ source, lives under the __gnu_pbds... Metadata >(3) header in section 3 of the manual, and was rendered by Doxygen. mwah. πŸ’– πŸŽ€ πŸ¦‹

πŸ“¦ 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