__GNU_PBDS::DETAIL::SPLAY_TREE_MAP(3cxx)
okay bestie, welcome to the 3cxx manual page for __gnu_pbds::detail::splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > π
β¨ yes, the title is a whole spell, but weβre getting through it together. No cap, every type, member, inherited note, and weird little quote is staying.
π NAME π
__gnu_pbds::detail::splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > β Splay tree. π³
π¦ SYNOPSIS π¦
#include <splay_tree_.hpp>
Inherits __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >.
π Public Types π
the full roster, no skips:
typedef _Alloc allocator_typetypedef Cmp_Fn cmp_fntypedef std::pair< size_type, size_type > comp_hashtypedef base_type::const_iterator const_iteratortypedef base_type::const_pointer const_pointertypedef base_type::const_reference const_referencetypedef base_type::const_reverse_iterator const_reverse_iteratortypedef splay_tree_tag container_categorytypedef _Alloc::difference_type difference_typetypedef base_type::iterator iteratortypedef base_type::key_const_pointer key_const_pointertypedef base_type::key_const_reference key_const_referencetypedef base_type::key_pointer key_pointertypedef base_type::key_reference key_referencetypedef base_type::key_type key_typetypedef base_type::mapped_const_pointer mapped_const_pointertypedef base_type::mapped_const_reference mapped_const_referencetypedef base_type::mapped_pointer mapped_pointertypedef base_type::mapped_reference mapped_referencetypedef base_type::mapped_type mapped_typetypedef __nothrowcopy::indicator no_throw_indicatortypedef traits_type::node_const_iterator node_const_iteratortypedef traits_type::node_iterator node_iteratortypedef base_type::node_update node_updatetypedef base_type::const_iterator point_const_iteratortypedef base_type::point_iterator point_iteratortypedef base_type::pointer pointertypedef base_type::reference referencetypedef base_type::reverse_iterator reverse_iteratortypedef _Alloc::size_type size_typetypedef integral_constant< int, Store_Hash > store_extratypedef stored_data< value_type, size_type, Store_Hash > stored_data_typetypedef base_type::value_type value_type
π Public Member Functions π
here is the entire member-function guest list, and yes it is long:
splay_tree_map (const Cmp_Fn &)splay_tree_map (const Cmp_Fn &, const node_update &)splay_tree_map (const splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)iterator begin ()const_iterator begin () constvoid clear ()template<typename It > void copy_from_range (It, It)bool empty () constiterator end ()const_iterator end () constiterator erase (iterator it)bool erase (key_const_reference)reverse_iterator erase (reverse_iterator)template<typename Pred > size_type erase_if (Pred)point_iterator find (key_const_reference)point_const_iterator find (key_const_reference) constCmp_Fn & get_cmp_fn ()const Cmp_Fn & get_cmp_fn () constvoid initialize ()std::pair< point_iterator, bool > insert (const_reference r_value)void join (splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)point_iterator lower_bound (key_const_reference)point_const_iterator lower_bound (key_const_reference) constsize_type max_size () constnode_iterator node_begin ()β Returns anode_iteratorcorresponding to the node at the root of the tree.node_const_iterator node_begin () constβ Returns a constnode_iteratorcorresponding to the node at the root of the tree.node_iterator node_end ()β Returns anode_iteratorcorresponding to a node just after a leaf of the tree.node_const_iterator node_end () constβ Returns a constnode_iteratorcorresponding to a node just after a leaf of the tree.mapped_reference operator[] (key_const_reference r_key)reverse_iterator rbegin ()const_reverse_iterator rbegin () constreverse_iterator rend ()const_reverse_iterator rend () constsize_type size () constvoid split (key_const_reference, splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)void swap (splay_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)void swap (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &)point_iterator upper_bound (key_const_reference)point_const_iterator upper_bound (key_const_reference) const
π«Ά Public Attributes π«Ά
no_throw_indicator m_no_throw_copies_indicatorstore_extra m_store_extra_indicator
πΈ Protected Types πΈ
typedef node_alloc_traits::value_type nodetypedef node_alloc_traits::allocator_type node_allocatortypedef traits_type::null_node_update_pointer null_node_update_pointertypedef types_traits< Key, Mapped, _Alloc, false > traits_base
π Protected Member Functions π
void actual_erase_node (node_pointer)template<typename Node_Update_ > void apply_update (node_pointer, Node_Update_ *)void apply_update (node_pointer, null_node_update_pointer)std::pair< node_pointer, bool > erase (node_pointer)node_pointer get_new_node_for_leaf_insert (const_reference, false_type)node_pointer get_new_node_for_leaf_insert (const_reference, true_type)void initialize_min_max ()iterator insert_imp_empty (const_reference)std::pair< point_iterator, bool > insert_leaf (const_reference)iterator insert_leaf_new (const_reference, node_pointer, bool)void join_finish (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &)bool join_prep (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &)size_type recursive_count (node_pointer) constvoid rotate_left (node_pointer)void rotate_parent (node_pointer)void rotate_right (node_pointer)void split_finish (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &)bool split_prep (key_const_reference, tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &)void update_min_max_for_erased_node (node_pointer)template<typename Node_Update_ > void update_to_top (node_pointer, Node_Update_ *)void update_to_top (node_pointer, null_node_update_pointer)void value_swap (tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > &)
π§ Static Protected Member Functions π§
static void clear_imp (node_pointer)
π Protected Attributes π
node_pointer m_p_headsize_type m_size
β Static Protected Attributes β
static node_allocator s_node_allocator
π₯ Detailed Description π₯
the page literally shows this, quote and all:
template<typename Key, typename Mapped, typename Cmp_Fn, typename
Node_And_It_Traits, typename _Alloc>
class __gnu_pbds::detail::splay_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >"Splay tree.
π Member Function Documentation π
these are the inherited node_begin / node_end girlypops, with their exact [inline], [inherited] energy:
template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc > node_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_begin () [inline], [inherited]β Returns anode_iteratorcorresponding to the node at the root of the tree.template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc > node_const_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_begin () const [inline], [inherited]β Returns a constnode_iteratorcorresponding to the node at the root of the tree.template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc > node_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_end () [inline], [inherited]β Returns anode_iteratorcorresponding to a node just after a leaf of the tree.template<typename Key , typename Mapped , typename Cmp_Fn , typename Node_And_It_Traits , typename _Alloc > node_const_iterator __gnu_pbds::detail::bin_search_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc >::node_end () const [inline], [inherited]β Returns a constnode_iteratorcorresponding to a node just after a leaf of the tree.
π¦ Author π¦
Generated automatically by Doxygen for libstdc++ from the source code.
and the cute little sign-off, bestie: the footer/source-version line is libstd__gnu_pbds::de...raits, _Alloc >(3cxx), and there is no date printed on this page β just that libstdc++ Doxygen-generated vibe. mwah ππ
π¦ 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