__GNU_PBDS::DETAIL::BIN_SEARCH_TREE_NODE_IT_(3)
β¨ NAME β¨
__gnu_pbds::detail::bin_search_tree_node_it_< Node, Const_Iterator, Iterator, _Alloc > β bestie, it's a node iterator. That's the whole vibe. π
This one lives in the Library Functions Manual, iykyk.
πΈ SYNOPSIS πΈ
#include <node_iterators.hpp>
Inherits __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >. Yes she's a nepo baby, she inherited everything, and honestly? Slay. π
π Public Types
typedef Iterator const_referenceβ the iterator's__constreference type. (Yes it really is written like__const, that's not me being quirky, that's the source, periodt.)typedef trivial_iterator_difference_type difference_typeβ the difference type.typedef trivial_iterator_tag iterator_categoryβ the category.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.typedef Iterator referenceβ the iterator's reference type.typedef Iterator value_typeβ the iterator's value type.
π¦ Public Member Functions
bin_search_tree_node_it_ (const node_pointer p_nd=0)β the constructor, and look at that default of0, it's giving low-maintenance.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.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. Not me being petty to another iterator π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
π Detailed Description π
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." That's the description. Short. Iconic. She said what she said. β¨
π Member Typedef Documentation π
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. π
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
[inherited] β the difference type. Not her own, she got it from her parent, and that's fine, generational wealth is real. π
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
[inherited] β the category.
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
[inherited] β const metadata reference type.
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
[inherited] β metadata 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 >::reference
Iterator's reference 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 β
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
[inline] β returns the node iterator associated with the left node. She's literally just handing you the left child. Left girlies rise. π
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
[inline], [inherited] β metadata access.
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
[inline] β returns the node iterator associated with the right node. And there's the right child, matching energy, balance restored. π§
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
[inline], [inherited] β compares (negatively) to a different iterator object. She's clocking that other iterator and going "we are NOT the same." π
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
[inline] β access.
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
[inline], [inherited] β compares to a different iterator object. And here she is being nice about it, we love a positive comparison arc. π«Ά
πΈ Author πΈ
Generated automatically by Doxygen for libstdc++ from the source code. Not a human author, a robot did this, and honestly the robot ate. πβ¨
Okay bestie that's the whole page, no cap, every single line of it. Now go read the source and be iconic. π
libstdc++ β that's the source and the version, mwah, bye, love u, __gnu_pbds..., _Alloc >(3) out. ππ¦π
π¦ 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