__GNU_PBDS::DETAIL::OV_TREE_NODE_IT_(3)

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

πŸ¦‹ __gnu_pbds::detail::ov_tree_node_it_< Value_Type, Metadata_Type, _Alloc > β€” NAME

okay so bestie, welcome to section 3 of the Library Functions Manual (that's the libstdc++ manual, mwah πŸ’–). This page is about:

__gnu_pbds::detail::ov_tree_node_it_< Value_Type, Metadata_Type, _Alloc > β€” a Node reference. That's it, that's the whole name. short, sweet, iconic. πŸ’…


✨ SYNOPSIS ✨

#include <node_iterators.hpp>

It inherits from __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >. yes bestie, it's giving family tree (literally, it's a tree node πŸ’€).


🌸 Public Types 🌸

all the typedefs, no cap, exactly as they are:

typedef rebind_traits< _Alloc, typenameremove_const< Value_Type >::type
    >::pointer const_reference
typedef trivial_iterator_difference_type difference_type
typedef trivial_iterator_tag iterator_category
typedef rebind_traits< _Alloc, metadata_type >::const_reference
    metadata_const_reference
typedef Metadata_Type metadata_type
typedef rebind_traits< _Alloc, typenameremove_const< Value_Type >::type
    >::pointer reference
typedef rebind_traits< _Alloc, Value_Type >::pointer value_type

πŸŽ€ Public Member Functions πŸŽ€

  • ov_tree_node_it_ (const_pointer p_nd=0, const_pointer p_begin_nd=0, const_pointer p_end_nd=0, const_metadata_pointer p_metadata=0) β€” the constructor, with all four params defaulting to 0 🫢
  • ov_tree_node_it_ get_l_child () const β€” Returns the node reference associated with the left node.
  • metadata_const_reference get_metadata () const β€” grabs the metadata, periodt.
  • ov_tree_node_it_ get_r_child () const β€” Returns the node reference associated with the right node.
  • bool operator!= (const this_type &other) const β€” the not-equal check, lowkey essential.
  • reference operator* () const β€” Access. (that's the vibe ✨)
  • bool operator== (const this_type &other) const β€” the equal check, its bestie.

πŸ“ Public Attributes πŸ“

  • pointer m_p_begin_value
  • pointer m_p_end_value
  • const_metadata_pointer m_p_metadata
  • pointer m_p_value

πŸ’œ Static Protected Member Functions πŸ’œ

  • template<typename Ptr> static Ptr mid_pointer (Ptr p_begin, Ptr p_end) β€” protected, so it's giving "you can't sit with us" but in a cute way πŸ™ˆ

🌈 Detailed Description 🌈

template<typename Value_Type, typename Metadata_Type, typename _Alloc>
    class __gnu_pbds::detail::ov_tree_node_it_< Value_Type, Metadata_Type,
    _Alloc >

"Node reference." β€” that's the whole detailed description, she said what she said πŸ’…


πŸ‘‘ Member Function Documentation πŸ‘‘

get_l_child () const [inline]

template<typename Value_Type, typename Metadata_Type, typename _Alloc>
    ov_tree_node_it_ __gnu_pbds::detail::ov_tree_node_it_< Value_Type,
    Metadata_Type, _Alloc >::get_l_child () const

Returns the node reference associated with the left node. left girlie, we see you 🌸

get_r_child () const [inline]

template<typename Value_Type, typename Metadata_Type, typename _Alloc>
    ov_tree_node_it_ __gnu_pbds::detail::ov_tree_node_it_< Value_Type,
    Metadata_Type, _Alloc >::get_r_child () const

Returns the node reference associated with the right node. right girlie, equally valid ✨

operator* () const [inline]

template<typename Value_Type, typename Metadata_Type, typename _Alloc>
    reference __gnu_pbds::detail::ov_tree_node_it_< Value_Type,
    Metadata_Type, _Alloc >::operator* () const

Access. (the way that one word says everything 😭πŸ”₯)


πŸ’– Author πŸ’–

Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a bestie, just a robot doing its lil thing πŸ€–βœ¨

okay that's the whole page bestie, we ate and left no crumbs πŸ½οΈπŸ’…

Sign-off szn: this page is from the libstdc++ manual, section 3 β€” footer says libstdc++ and it's the __gnu_pbds...e, _Alloc >(3) page, mwah. ily, go read your source code 🫢🌈⭐

πŸ“¦ 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