__GNU_PBDS::DETAIL::OV_TREE_MAP(3)
π __GNU_PBDS::DETAIL::OV_TREE_MAP(3) π
okay bestie, welcome to the Library Functions Manual β¨ this one's all about
__gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > β an Ordered-vector tree associative-container. π
πΈ NAME πΈ
__gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > β an Ordered-vector tree associative-container. like it's a map but it's built on an ordered vector tree, iykyk π
β¨ SYNOPSIS β¨
#include <ov_tree_map_.hpp>
Inherits . (yes, it just says that. nothing after it. iconic of it honestly.) π
π§ Classes
class cond_dtorβ Conditional destructor. it destructs, conditionally. queen behavior π«Ά
π Public Types π
typedef _Alloc allocator_typetypedef Cmp_Fn cmp_fntypedef std::pair< size_type, size_type > comp_hashtypedef point_const_iterator const_iteratortypedef traits_base::const_pointer const_pointertypedef traits_base::const_reference const_referencetypedef ov_tree_tag container_categorytypedef _Alloc::difference_type difference_typetypedef point_iterator iteratortypedef traits_base::key_const_pointer key_const_pointertypedef traits_base::key_const_reference key_const_referencetypedef traits_base::key_pointer key_pointertypedef traits_base::key_reference key_referencetypedef traits_base::key_type key_typetypedef traits_base::mapped_const_pointer mapped_const_pointertypedef traits_base::mapped_const_reference mapped_const_referencetypedef traits_base::mapped_pointer mapped_pointertypedef traits_base::mapped_reference mapped_referencetypedef traits_base::mapped_type mapped_typetypedef __nothrowcopy::indicator no_throw_indicatortypedef traits_type::node_const_iterator node_const_iteratortypedef traits_type::node_iterator node_iteratortypedef traits_type::node_update node_updatetypedef const_pointer point_const_iteratortypedef pointer point_iteratortypedef traits_base::pointer pointertypedef traits_base::reference referencetypedef _Alloc::size_type size_typetypedef integral_constant< int, Store_Hash > store_extratypedef stored_data< value_type, size_type, Store_Hash > stored_data_typetypedef traits_base::value_type value_type
that's a LOT of typedefs and honestly? she ate. no notes. π
π¦ Public Member Functions π¦
ov_tree_map (const Cmp_Fn &)ov_tree_map (const Cmp_Fn &, const node_update &)ov_tree_map (const ov_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)template<typename Pred> size_type erase_if (Pred)point_iterator find (key_const_reference r_key)point_const_iterator find (key_const_reference r_key) constCmp_Fn & get_cmp_fn ()const Cmp_Fn & get_cmp_fn () conststd::pair< point_iterator, bool > insert (const_reference r_value)void join (ov_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)point_iterator lower_bound (key_const_reference r_key)point_const_iterator lower_bound (key_const_reference r_key) 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)size_type size () constvoid split (key_const_reference, ov_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)void swap (ov_tree_map< Key, Mapped, Cmp_Fn, Node_And_It_Traits, _Alloc > &)point_iterator upper_bound (key_const_reference r_key)point_const_iterator upper_bound (key_const_reference r_key) const
π Public Attributes π
no_throw_indicator m_no_throw_copies_indicatorstore_extra m_store_extra_indicator
π Detailed Description π
template<typename Key, typename Mapped, typename Cmp_Fn, typename
Node_And_It_Traits, typename _Alloc>
class __gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >
"Ordered-vector tree associative-container. β that's the whole description bestie, she said what she said π
π₯ Member Function Documentation π₯
node_begin
template<typename Key, typename Mapped, typename Cmp_Fn, typename
Node_And_It_Traits, typename _Alloc> ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_iterator
__gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_begin () [inline]
Returns a node_iterator corresponding to the node at the root of the tree. the main character of the tree, fr fr π
node_begin const
template<typename Key, typename Mapped, typename Cmp_Fn, typename
Node_And_It_Traits, typename _Alloc> ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_const_iterator
__gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_begin () const [inline]
Returns a const node_iterator corresponding to the node at the root of the tree. same root, but make it const π§
node_end
template<typename Key, typename Mapped, typename Cmp_Fn, typename
Node_And_It_Traits, typename _Alloc> ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_iterator
__gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_end () [inline]
Returns a node_iterator corresponding to a node just after a leaf of the tree. past the last leaf, living her best life πβ¨
node_end const
template<typename Key, typename Mapped, typename Cmp_Fn, typename
Node_And_It_Traits, typename _Alloc> ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_const_iterator
__gnu_pbds::detail::ov_tree_map< Key, Mapped, Cmp_Fn,
Node_And_It_Traits, _Alloc >::node_end () const [inline]
Returns a const node_iterator corresponding to a node just after a leaf of the tree. the const version of "just past the leaf", periodt π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. yes, a robot wrote this and honestly she's serving β¨
no cap: every single typedef, member function, attribute and note above is here, exactly as written. nothing dropped, nothing invented. π«Ά
okay bye bestie, go build something iconic with your ordered-vector tree map ππΈπ¦ β this page came to you straight from libstdc++ (Library Functions Manual, page __gnu_pbds..., _Alloc >(3)), so shoutout to them, 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