__GNU_PBDS::DETAIL::PAT_TRIE_BASE__NODE_ITER(3cxx)
π NAME π
okay bestie, this is the <pink>__gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc ></pink> page from the libstdc++ (3cxx) manual β Node iterator. That's the whole name, and yes, it's literally a node iterator. π¦β¨
β¨ SYNOPSIS β¨
#include <pat_trie_base.hpp>
Inherits __gnu_pbds::detail::pat_trie_base::_Node_citer< 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. π«Άtypedef Node::metadata_type metadata_typeβ Metadata type. πtypedef value_type referencetypedef base_type::size_type size_typetypedef Iterator value_type
π Public Member Functions π
_Node_iter (node_pointer p_nd=0, a_const_pointer p_traits=0)β constructor vibes, bestie._Node_iter get_child (size_type i) constβ Returns a node __iterator to the corresponding node's i-th child. πmetadata_const_reference get_metadata () constβ Metadata access. β¨size_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 object. πreference operator* () constβ Access; returns the iterator* associated with the current leaf. πbool operator== (const _Node_citer &other) constβ Compares content to a different iterator object. πstd::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 rebind_traits< _Alloc, Inode >::const_pointer inode_const_pointertypedef rebind_traits< _Alloc, Leaf >::const_pointer leaf_const_pointertypedef rebind_traits< _Alloc, Leaf >::pointer leaf_pointer
β Detailed Description β
template<typename Node, typename Leaf, typename Head, typename Inode,
typename _CIterator, typename Iterator, typename _Alloc>
class __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head,
Inode, _CIterator, Iterator, _Alloc >"Node iterator.
Yup, that's the whole detailed-description moment: it's a Node iterator, and the class template signature is doing main character energy. ππ
π₯ Member Typedef Documentation π₯
metadata_const_reference (inherited)
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 [inherited]
Const metadata reference type. π«Ά
metadata_type (inherited)
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 [inherited]
Metadata type. π
π Member Function Documentation π
get_child
template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > _Node_iter __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::get_child (size_type i) const [inline]
Returns a node __iterator to the corresponding node's i-th child. π References std::advance().
get_metadata (inherited)
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], [inherited]
Metadata access. β¨
num_children (inherited)
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], [inherited]
Returns the number of children in the corresponding node. π References std::distance().
Referenced by __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator*(), and __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator*().
operator!= (inherited)
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], [inherited]
Compares content (negatively) to a different iterator object. π
operator*
template<typename Node , typename Leaf , typename Head , typename Inode , typename _CIterator , typename Iterator , typename _Alloc > reference __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator* () const [inline]
Access; returns the iterator* associated with the current leaf. π
References __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::num_children().
operator== (inherited)
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], [inherited]
Compares content to a different iterator object. π
valid_prefix (inherited)
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], [inherited]
Subtree valid prefix. πΈ
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. π€β¨ (Yes bestie, a robot generated this one, and it ate.)
cute sign-off: the footer says this is the libstdc++ (3cxx) source/version situation, and it doesn't show an actual date β so that's the whole footer vibe, no cap. πππ«Ά
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms