__GNU_PBDS::DETAIL::PAT_TRIE_BASE__INODE_ITERATOR(3)
β¨ NAME β¨
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator β it's a child iterator, bestie. That's the whole vibe. It walks the kids of an _Inode. π¦
πΈ SYNOPSIS πΈ
Okay so first thing, you gotta pull in the header, no cap:
#include <pat_trie_base.hpp>
And it inherits from:
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator
so like, it's the const_iterator's chaotic younger sibling. iykyk. π
π Public Types π
These are the type aliases it's serving, periodt:
typedef _Alloc::difference_type difference_typeβ the difference type, borrowed from_Allocπtypedef std::forward_iterator_tag iterator_categoryβ yup it's a forward iterator, it goes forward and only forward, main character energy βtypedef node_pointer_pointer pointerβ a pointer, but to a pointer. pointerΒ², if you will πtypedef node_pointer_reference referenceβ the reference version of that same double-pointer situation πtypedef node_pointer value_typeβ the actual thing you get out of it is anode_pointerπ
π Public Member Functions π
The whole roster, every single one, no skipping:
iterator (node_pointer_pointer p_p_cur=0, node_pointer_pointer p_p_end=0)β constructor bestie, takes a current pointer-pointer and an end pointer-pointer, and both default to0π«Άbool operator!= (const const_iterator &other) constβ are we not equal to thatconst_iterator? πbool operator!= (const iterator &other) constβ are we not equal to thatiterator? πnode_const_pointer operator* () constβ dereference, const flavour, hands you anode_const_pointerβ¨node_pointer operator* ()β dereference, non-const flavour, hands you anode_pointerβ¨iterator & operator++ ()β pre-increment, returns a reference to yourself, glow up in place π«iterator operator++ (int)β post-increment, returns a copy of the old you. yes theintis just there to be a little liar, that's normal π₯const node_pointer_pointer operator-> () constβ arrow operator, const version, gives you aconst node_pointer_pointerπnode_pointer_pointer operator-> ()β arrow operator, regular version, gives you anode_pointer_pointerπbool operator== (const const_iterator &other) constβ are we equal to thatconst_iterator? πbool operator== (const iterator &other) constβ are we equal to thatiterator? π
π§ Public Attributes π§
Just two, and honestly? iconic:
node_pointer_pointer m_p_p_curβ where you're at right now πnode_pointer_pointer m_p_p_endβ where it all ends π
π Detailed Description π
Here's the whole thing, template and all, verbatim because we do not play with code:
template<typename _ATraits, typename Metadata>
struct __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator
"Child iterator."
Yeah. That's the description. Short, sweet, ate and left no crumbs. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
k bye bestie, that's the whole page π this was written for libstdc++, section 3 of the library functions manual, and it's a Doxygen-generated one so be nice to it, it didn't choose its life π mwah π β¨
π¦ 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