__GNU_PBDS::DETAIL::PAT_TRIE_BASE__INODE_CONST_ITERATOR(3)
π 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 anode_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 of0, so you can just... make one. Slay.bool operator!= (const const_iterator &other) constβ the "are we not the same" check, againstother.node_const_pointer operator* () constβ dereference, hands you anode_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 anint, returns a copy. The classic duo.const node_pointer_pointer operator-> () constβ arrow operator, returns aconst node_pointer_pointer. Note theconstis chillin' right out front, iykyk.bool operator== (const const_iterator &other) constβ the "are we the same" check, againstother.
π 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