__GNU_PBDS::DETAIL::SPLAY_TREE_NODE_(3)

🌸 NAME 🌸

bestie. okay. say hi to __gnu_pbds::detail::splay_tree_node_< Value_Type, Metadata, _Alloc > β€” she's a Node for splay tree. that's it, that's her whole job, and she does it flawlessly πŸ’…

this page lives in the Library Functions Manual, and it's all about libstdc++, so jot that down πŸŽ€


✨ SYNOPSIS ✨

#include <node.hpp>

that's the whole include, periodt 🫢

πŸ‘‘ Public Types

  • typedef rebind_traits< _Alloc, metadata_type >::const_reference metadata_const_reference β€” the const-flavoured reference to metadata, no take-backs allowed πŸ™ˆ
  • typedef rebind_traits< _Alloc, metadata_type >::reference metadata_reference β€” the regular reference to metadata, she's mutable and she knows it πŸ’–
  • typedef Metadata metadata_type β€” the metadata type itself, the blueprint of the whole situation ✨
  • typedef rebind_traits< _Alloc, splay_tree_node_ >::pointer node_pointer β€” pointer-to-node, rebinding the allocator to the node type, iconic behavior 🌈
  • typedef rebind_traits< _Alloc, splay_tree_node_ >::size_type size_type β€” the size type, for all your counting needs πŸ”’
  • typedef Value_Type value_type β€” the value type, the actual payload, the main character energy of the struct ⭐

πŸ’– Public Member Functions

  • metadata_reference get_metadata () β€” hands you back a reference to the metadata πŸŽ€
  • metadata_const_reference get_metadata () const β€” same vibe but const, she's read-only and thriving 🌸
  • bool special () const β€” tells you whether this node is special. yes, really. she's special and she's telling you about it πŸ’…

πŸ¦‹ Public Attributes

  • metadata_type m_metadata β€” the metadata, stored right there, living her best life πŸ’œ
  • node_pointer m_p_left β€” pointer to the left node, the left bestie 🫢
  • node_pointer m_p_parent β€” pointer to the parent node, the mother of it all πŸ‘‘
  • node_pointer m_p_right β€” pointer to the right node, the right bestie 🫢
  • bool m_special β€” the boolean that says whether she's special or not, no cap πŸŽ€
  • size_type m_subtree_size β€” how big the subtree is, literally the size of the whole situation πŸ“
  • value_type m_value β€” the actual value, the content, the moment, the vibe ⭐

🌈 Detailed Description 🌈

okay so here's the whole declaration, and honestly? it's giving template perfection:

template<typename Value_Type, class Metadata, typename _Alloc>
    struct __gnu_pbds::detail::splay_tree_node_< Value_Type, Metadata,
    _Alloc >

and the official one-liner description: "Node for splay tree.

that's it. that's the description. short, sweet, ate and left no crumbs πŸ”₯


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for libstdc++ from the source code. not a human author, a robot did this, and honestly? the robot slayed πŸ€–βœ¨


and that's the whole page bestie, you're officially educated on splay_tree_node_ πŸŽ€ this was brought to you by libstdc++ and Doxygen β€” now go forth and splay, fr fr πŸ¦‹πŸ’–

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