__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_referencemetadata_const_referenceβ the const-flavoured reference to metadata, no take-backs allowed πtypedef rebind_traits< _Alloc, metadata_type >::referencemetadata_referenceβ the regular reference to metadata, she's mutable and she knows it πtypedef Metadatametadata_typeβ the metadata type itself, the blueprint of the whole situation β¨typedef rebind_traits< _Alloc, splay_tree_node_ >::pointernode_pointerβ pointer-to-node, rebinding the allocator to the node type, iconic behavior πtypedef rebind_traits< _Alloc, splay_tree_node_ >::size_typesize_typeβ the size type, for all your counting needs π’typedef Value_Typevalue_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_typem_metadataβ the metadata, stored right there, living her best life πnode_pointerm_p_leftβ pointer to the left node, the left bestie π«Άnode_pointerm_p_parentβ pointer to the parent node, the mother of it all πnode_pointerm_p_rightβ pointer to the right node, the right bestie π«Άboolm_specialβ the boolean that says whether she's special or not, no cap πsize_typem_subtree_sizeβ how big the subtree is, literally the size of the whole situation πvalue_typem_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