__GNU_PBDS::DETAIL::BIN_SEARCH_TREE_NODE_IT_(3cxx)
π NAME π
okay so bestie, this whole page is about __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc > β and what is it? it's a Node iterator. that's it. that's the whole identity. main character energy from start to finish β¨
(quick vibe check: this is a libstdc++ page, manual section 3cxx β hold that thought, we're circling back at the end π«Ά)
π SYNOPSIS π
#include <node_iterators.hpp>
it inherits from __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >. yes, it's giving "everything i have, i got from my parent" π
π Public Types π
typedef Iterator const_referenceβ Iterator's__constreference type.typedef trivial_iterator_difference_type difference_typeβ the Difference type, lowkey self-explanatory.typedef trivial_iterator_tag iterator_categoryβ the Category. iconic behavior.typedef rebind_traits< _Alloc, metadata_type >::const_reference metadata_const_referenceβ the Const metadata reference type.typedef Node::metadata_type metadata_typeβ the Metadata type. it's literally metadata πtypedef Iterator referenceβ Iterator's reference type.typedef Iterator value_typeβ Iterator's value type.
π¦ Public Member Functions π¦
bin_search_tree_node_it_ (const node_pointer p_nd=0)β the constructor, no notes, no drama.bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc > get_l_child () constβ Returns the node iterator associated with the left node.metadata_const_reference get_metadata () constβ Metadata access. periodt.bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc > get_r_child () constβ Returns the node iterator associated with the right node.bool operator!= (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &other) constβ Compares (negatively) to a different iterator object.Iterator operator* () constβ Access.bool operator== (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &other) constβ Compares to a different iterator object.
πΈ Public Attributes πΈ
node_pointer m_p_ndβ that's the attribute, that's the whole sentence, we love a one-liner π«Ά
β Detailed Description β
okay so here's the full declaration, copy it exactly, don't @ me:
template<typename Node, class Const_Iterator, class Iterator, typename _Alloc>
class __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >"Node iterator.
(yes, that stray quote really is in there π β not me, not my fault, we keep the details fr fr)
π Member Typedef Documentation π
const_reference
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Iterator __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >::const_reference
Iterator's __const reference type.
difference_type [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef trivial_iterator_difference_type __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::difference_type
Difference type.
iterator_category [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef trivial_iterator_tag __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::iterator_category
Category.
metadata_const_reference [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef rebind_traits<_Alloc,metadata_type>::const_reference __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::metadata_const_reference
Const metadata reference type.
metadata_type [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Node::metadata_type __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::metadata_type
Metadata type.
reference
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Iterator __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >::reference
Iterator's reference type.
value_type
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Iterator __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >::value_type
Iterator's value type.
π₯ Member Function Documentation π₯
get_l_child () const [inline]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc > __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >::get_l_child () const
Returns the node iterator associated with the left node.
get_metadata () const [inline], [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
metadata_const_reference __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::get_metadata () const
Metadata access.
get_r_child () const [inline]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc > __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >::get_r_child () const
Returns the node iterator associated with the right node.
operator!= [inline], [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bool __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::operator!= (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > & other) const
Compares (negatively) to a different iterator object.
operator* () const [inline]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
Iterator __gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc >::operator* () const
Access.
operator== [inline], [inherited]
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bool __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::operator== (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > & other) const
Compares to a different iterator object.
π§ Author π§
Generated automatically by Doxygen for libstdc++ from the source code.
and that's the page, bestie!! π it's a libstdc++ situation, it lives in manual section 3cxx, and honestly? it ate. no crumbs. go be a node iterator about it π
β¨π
π¦ 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