__GNU_PBDS::DETAIL::BIN_SEARCH_TREE_NODE_IT_(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 6 versions
, in arch rolling, fedora 44

✨ 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 __const reference 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 of 0, 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