__GNU_PBDS::DETAIL::PAT_TRIE_BASE__NODE_CITER(3)
π NAME π
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc > β Node const iterator. bestie, it's literally the const-iterator for a PAT trie node, okurrr β¨
πΈ SYNOPSIS πΈ
#include <pat_trie_base.hpp>
Inherited by __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >. π
β¨ Public Types β¨
typedef value_type const_referencetypedef trivial_iterator_difference_type difference_typetypedef trivial_iterator_tag iterator_categorytypedef rebind_traits< _Alloc, metadata_type >::const_reference metadata_const_referenceβ const metadata reference type, no cap πtypedef Node::metadata_type metadata_typeβ the metadata type, periodttypedef value_type referencetypedef _Alloc::size_type size_typetypedef _CIterator value_type
π¦ Public Member Functions π¦
_Node_citer (node_pointer p_nd=0, a_const_pointer p_traits=0)_Node_citer get_child (size_type i) constβ returns a__constnode__iteratorto the corresponding node's i-th child πmetadata_const_reference get_metadata () constβ metadata access, go get ur metadatasize_type num_children () constβ returns the number of children in the corresponding node π§bool operator!= (const _Node_citer &other) constβ compares content (negatively) to a different iterator objectconst_reference operator* () constβ const access; returns the__constiterator* associated with the current leaf πΈbool operator== (const _Node_citer &other) constβ compares content to a different iterator objectstd::pair< a_const_iterator, a_const_iterator > valid_prefix () constβ subtree valid prefix β
π Public Attributes π
node_pointer m_p_nda_const_pointer m_p_traits
π Protected Types π
typedef Node::a_const_iterator a_const_iteratortypedef Node::a_const_pointer a_const_pointertypedef rebind_traits< _Alloc, Inode >::const_pointer inode_const_pointertypedef rebind_traits< _Alloc, Inode >::pointer inode_pointertypedef rebind_traits< _Alloc, Leaf >::const_pointer leaf_const_pointertypedef rebind_traits< _Alloc, Leaf >::pointer leaf_pointertypedef rebind_traits< _Alloc, Node >::pointer node_pointer
π Detailed Description π
okay so it's a template, and here's the whole vibe:
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
class __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head,
Inode, _CIterator, Iterator, _Alloc >
"Node const iterator." that's it, that's the whole description, and honestly? iconic. π
π Member Typedef Documentation π
metadata_const_reference
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
typedef rebind_traits<_Alloc,metadata_type>::const_reference
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::metadata_const_reference
Const metadata reference type. π«Ά
metadata_type
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
typedef Node::metadata_type
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::metadata_type
Metadata type. fr fr.
π¦ Member Function Documentation π¦
get_child
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
_Node_citer
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::get_child (size_type i) const [inline]
Returns a __const node __iterator to the corresponding node's i-th child. yes bestie, hand me the i-th child β¨
get_metadata
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
metadata_const_reference
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::get_metadata () const [inline]
Metadata access. go off π
num_children
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
size_type
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::num_children () const [inline]
Returns the number of children in the corresponding node. πΈ
Referenced by __gnu_pbds::detail::pat_trie_base::_Node_citer< node, leaf, head, inode, const_iterator, iterator, _Alloc >::operator*().
operator!=
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
bool
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::operator!= (const _Node_citer< Node,
Leaf, Head, Inode, _CIterator, Iterator, _Alloc > & other) const
[inline]
Compares content (negatively) to a different iterator object. it's giving "not the same, and we're saying it out loud" π
operator*
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
const_reference
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::operator* () const [inline]
Const access; returns the __const iterator* associated with the current leaf. π
operator==
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
bool
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::operator== (const _Node_citer< Node,
Leaf, Head, Inode, _CIterator, Iterator, _Alloc > & other) const
[inline]
Compares content to a different iterator object. twin where have u been π«Ά
valid_prefix
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
std::pair< a_const_iterator, a_const_iterator >
__gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode,
_CIterator, Iterator, _Alloc >::valid_prefix () const [inline]
Subtree valid prefix. slay π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
and that's the whole page bestie π this one came out of libstdc++, and the manual name on the tin is __gnu_pbds...r, _Alloc >(3) β mwah, go read some source code, iykyk π
β¨
π¦ 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