__GNU_PBDS::TREE_ORDER_STATISTICS_NODE_UPDATE(3cxx)
π NAME π
Okay so this is the 3cxx manual page for __gnu_pbds::tree_order_statistics_node_update< Node_CItr, Node_Itr, Cmp_Fn, _Alloc > β Functor updating ranks of entrees. Yes, βentreesβ is literally the original spelling, bestie π no cap.
β¨ SYNOPSIS β¨
#include <tree_policy.hpp>
Inherits __gnu_pbds::detail::branch_policy< Node_CItr, Node_Itr, _Alloc >.
π Public Types π
The full type roster, in original order β don't rearrange, bestie:
typedef _Alloc allocator_typetypedef Cmp_Fn cmp_fntypedef node_const_iterator::value_type const_iteratortypedef node_iterator::value_type iteratortypedef base_type::key_const_reference key_const_referencetypedef base_type::key_type key_typetypedef size_type metadata_typetypedef Node_CItr node_const_iteratortypedef Node_Itr node_iteratortypedef allocator_type::size_type size_type
πΈ Public Member Functions πΈ
iterator find_by_order (size_type)β Finds an entry by__order. Returns an iterator to the entry with the__orderorder, or an iterator to the container object's end if order is at least the size of the container object.const_iterator find_by_order (size_type) constβ Finds an entry by__order. Returns aconst_iteratorto the entry with the__orderorder, or aconst_iteratorto the container object's end if order is at least the size of the container object.size_type order_of_key (key_const_reference) constβ Returns the order of a key within a sequence. For exapmle, ifr_keyis the smallest key, this method will return0; ifr_keyis a key between the smallest and next key, this method will return1; ifr_keyis a key larger than the largest key, this method will return the size ofr_c.
π Protected Member Functions π
void operator() (node_iterator, node_const_iterator) constβ Updates the rank of a node through anode_iterator node_it;end_nd_itis the end node iterator.
π¦ Detailed Description π¦
The class is templated like this β yes, the quote after the > is in the original, don't come for me π:
template<typename Node_CItr, typename Node_Itr, typename Cmp_Fn, typename
_Alloc>
class __gnu_pbds::tree_order_statistics_node_update< Node_CItr,
Node_Itr, Cmp_Fn, _Alloc >"Functor updating ranks of entrees.
π Member Function Documentation π
find_by_order (size_type) β the non-const one
template<typename Node_CItr , typename Node_Itr , typename Cmp_Fn , typename
_Alloc > iterator __gnu_pbds::tree_order_statistics_node_update<
Node_CItr, Node_Itr, Cmp_Fn, _Alloc >::find_by_order (size_type)
[inline]
Finds an entry by __order. Returns an iterator to the entry with the __order order, or an iterator to the container object's end if order is at least the size of the container object.
find_by_order (size_type) const β the const one
template<typename Node_CItr , typename Node_Itr , typename Cmp_Fn , typename
_Alloc > const_iterator __gnu_pbds::tree_order_statistics_node_update<
Node_CItr, Node_Itr, Cmp_Fn, _Alloc >::find_by_order (size_type) const
[inline]
Finds an entry by __order. Returns a const_iterator to the entry with the __order order, or a const_iterator to the container object's end if order is at least the size of the container object.
operator() (node_iterator, node_const_iterator) const β protected and inline
template<typename Node_CItr , typename Node_Itr , typename Cmp_Fn , typename
_Alloc > void __gnu_pbds::tree_order_statistics_node_update< Node_CItr,
Node_Itr, Cmp_Fn, _Alloc >::operator() (node_iterator,
node_const_iterator) const [inline], [protected]
Updates the rank of a node through a node_iterator node_it; end_nd_it is the end node iterator.
order_of_key (key_const_reference) const β inline
template<typename Node_CItr , typename Node_Itr , typename Cmp_Fn , typename
_Alloc > size_type __gnu_pbds::tree_order_statistics_node_update<
Node_CItr, Node_Itr, Cmp_Fn, _Alloc >::order_of_key
(key_const_reference) const [inline]
Returns the order of a key within a sequence. For exapmle, if r_key is the smallest key, this method will return 0; if r_key is a key between the smallest and next key, this method will return 1; if r_key is a key larger than the largest key, this method will return the size of r_c.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Okay bestie, that's the whole page π«Ά The manual name is 3cxx, and the footer/source-version line is libst__gnu_pbds::tre...mp_Fn, _Alloc >(3cxx); no date is printed on this page, so I'm not making one up β periodt π
β¨
π¦ 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