__GNU_PBDS::DETAIL::RB_TREE_NODE_(3cxx)
π NAME π
__gnu_pbds::detail::rb_tree_node_< Value_Type, Metadata, _Alloc > β bestie, it's literally the Node for Red-Black trees. β¨ This cutie is from the 3cxx manual, and it's giving very specific template energy.
β¨ SYNOPSIS β¨
okay so first things first, you pull it in with this exact include:
#include <node.hpp>
πΈ Public Types πΈ
metadata_const_referenceβ the const-reference metadata alias, and the exact typedef istypedef rebind_traits< _Alloc, metadata_type >::const_reference metadata_const_reference. πmetadata_referenceβ the reference metadata alias, exactlytypedef rebind_traits< _Alloc, metadata_type >::reference metadata_reference. β¨metadata_typeβ literallytypedef Metadata metadata_type. π«Άnode_pointerβ the node-pointer alias, exactlytypedef rebind_traits< _Alloc, rb_tree_node_ >::pointer node_pointer. πvalue_typeβ exactlytypedef Value_Type value_type. π
π«Ά Public Member Functions π«Ά
metadata_reference get_metadata ()β non-const getter, no arguments, returnsmetadata_reference. no cap. πmetadata_const_reference get_metadata () constβ const overload, no arguments, returnsmetadata_const_reference. iconic. β¨bool special () constβ const, no arguments, returnsbool. periodt. π¦
π Public Attributes π
metadata_type m_metadataβ ametadata_typemember, right there in the open. πnode_pointer m_p_leftβ anode_pointermember. πΈnode_pointer m_p_parentβ anode_pointermember. π«Άnode_pointer m_p_rightβ anode_pointermember. πbool m_redβ aboolmember. π₯value_type m_valueβ avalue_typemember. β
π Detailed Description π
The template declaration is literally this, and the description is "Node for Red-Black trees." β yes, that's the whole vibe:
template<typename Value_Type, class Metadata, typename _Alloc>
struct __gnu_pbds::detail::rb_tree_node_< Value_Type, Metadata, _Alloc
>"Node for Red-Black trees.
So yeah: Value_Type, Metadata, _Alloc, and red-black tree node main character energy. ππ
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. π«Ά
Cute sign-off time, bestie: source/version is libstdc++ with the 3cxx manual tag, generated from the source code β and the date slot in the footer text isn't actually shown in this excerpt, so I'm not gonna invent one. ππ
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms