__GNU_PBDS::DETAIL::PAT_TRIE_BASE__INODE_CONST_ITERATOR(3)

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

πŸ’… NAME πŸ’…

__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator β€” bestie, it's a constant child iterator. That's the whole vibe. ✨

This is from the Library Functions Manual, and yes we're in the __gnu_pbds::detail basement where the real ones live. 🫢


🌸 SYNOPSIS 🌸

#include <pat_trie_base.hpp>

Inherited by __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator. So this one is literally the parent class of that iterator. Mother energy. πŸ‘‘

✨ Public Types ✨

  • typedef _Alloc::difference_type difference_type β€” the difference type, straight from _Alloc.
  • typedef std::forward_iterator_tag iterator_category β€” it's a forward iterator, no cap. Walks forward, that's it.
  • typedef node_pointer_pointer pointer β€” pointer to a node pointer. Double pointer moment, lowkey iconic.
  • typedef node_pointer_reference reference β€” the reference type, a reference to a node pointer.
  • typedef node_pointer value_type β€” the value type is a node_pointer. Periodt.

πŸ’– Public Member Functions πŸ’–

  • const_iterator (node_pointer_pointer p_p_cur=0, node_pointer_pointer p_p_end=0) β€” constructor, and both args have defaults of 0, so you can just... make one. Slay.
  • bool operator!= (const const_iterator &other) const β€” the "are we not the same" check, against other.
  • node_const_pointer operator* () const β€” dereference, hands you a node_const_pointer. The main character of the whole operation.
  • const_iterator & operator++ () β€” pre-increment, returns a reference to yourself. Advance, girl. πŸ”₯
  • const_iterator operator++ (int) β€” post-increment, takes an int, returns a copy. The classic duo.
  • const node_pointer_pointer operator-> () const β€” arrow operator, returns a const node_pointer_pointer. Note the const is chillin' right out front, iykyk.
  • bool operator== (const const_iterator &other) const β€” the "are we the same" check, against other.

πŸŽ€ Public Attributes πŸŽ€

  • node_pointer_pointer m_p_p_cur β€” where you're at right now.
  • node_pointer_pointer m_p_p_end β€” where you're gonna stop. The finish line. 🏁

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

template<typename _ATraits, typename Metadata>
struct __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator

"Constant child iterator." β€” that's the quote, fr fr. It's templated on _ATraits and Metadata, and it lives inside _Inode< _ATraits, Metadata >, which itself lives inside pat_trie_base, which lives inside __gnu_pbds::detail. Nested like a set of cute lil' russian dolls. πŸͺ†


🧚 AUTHOR 🧚

Generated automatically by Doxygen for libstdc++ from the source code. So nobody actually hand-wrote this one, it's a bot's finest work. πŸ’€


okay bestie that's the whole page πŸ’– The footer tags this as libstdc++ and the header calls it __gnu_pbds...st_iterator(3) in the Library Functions Manual β€” and yeah, the date slot is just sitting there empty, no thoughts, head empty. πŸ™ˆ Byeeee, go read the source, it's giving iconic. β­πŸŒˆπŸ’œ

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