__GNU_PBDS::TRIE_PREFIX_SEARCH_NODE_UPDATE(3cxx)
π NAME π
okay bestie, welcome to the 3cxx manual page for __gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr, _ATraits, _Alloc > β literally a node updator that lets tries be searched for the range of values that match a certain prefix. no cap, that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <trie_policy.hpp>
Inherits __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >.
β¨ Public Types β¨
typedef access_traits::const_iterator a_const_iteratorβ const element iterator, iconic.typedef _ATraits access_traitsβ element access traits, the whole vibe.typedef _Alloc allocator_typeβ the_Alloctype, periodt.typedef node_const_iterator::value_type const_iteratorβ exact typedef, no extra one-liner in the original.typedef node_iterator::value_type iteratorβ exact typedef, keep it moving.typedef base_type::key_const_reference key_const_referenceβ exact typedef.typedef base_type::key_type key_typeβ exact typedef.typedef null_type metadata_typeβ exact typedef.typedef Node_CItr node_const_iteratorβ exact typedef.typedef Node_Itr node_iteratorβ exact typedef.typedef allocator_type::size_type size_typeβ size type, slay.
π Public Member Functions π
std::pair< iterator, iterator > prefix_range (a_const_iterator, a_const_iterator)β finds the iterator range corresponding to all values whose prefixes match[b, e). π«Άstd::pair< const_iterator, const_iterator > prefix_range (a_const_iterator, a_const_iterator) constβ finds the const iterator range corresponding to all values whose prefixes match[b, e). β¨std::pair< iterator, iterator > prefix_range (key_const_reference)β finds the iterator range corresponding to all values whose prefixes matchr_key. πstd::pair< const_iterator, const_iterator > prefix_range (key_const_reference) constβ finds the const iterator range corresponding to all values whose prefixes matchr_key. π
π«Ά Protected Member Functions π«Ά
void operator() (node_iterator node_it, node_const_iterator end_nd_it) constβ called to update a node's metadata. that's it, that's the job. π
π¦ Detailed Description π¦
template<typename Node_CItr, typename Node_Itr, typename _ATraits, typename
_Alloc>
class __gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >"A node updator that allows tries to be searched for
the range of values that match a certain prefix.
So yeah β a node updator that allows tries to be searched for the range of values that match a certain prefix. main character energy fr fr. π
π Member Typedef Documentation π
π a_const_iterator π
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > typedef access_traits::const_iterator
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::a_const_iterator
Const element iterator. π¦
π access_traits π
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > typedef _ATraits
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::access_traits
Element access traits. β¨
π allocator_type π
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > typedef _Alloc
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::allocator_type
_Alloc type. π
π size_type π
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > typedef allocator_type::size_type
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::size_type
Size type. π
π₯ Member Function Documentation π₯
β operator() β
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > void __gnu_pbds::trie_prefix_search_node_update<
Node_CItr, Node_Itr, _ATraits, _Alloc >::operator() (node_iterator
node_it, node_const_iterator end_nd_it) const [inline], [protected]
Called to update a node's metadata. π
β prefix_range (a_const_iterator, a_const_iterator) β
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > std::pair< iterator, iterator >
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::prefix_range (a_const_iterator, a_const_iterator)
Finds the iterator range corresponding to all values whose prefixes match [b, e). π«Ά
β prefix_range (a_const_iterator, a_const_iterator) const β
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > std::pair< const_iterator, const_iterator >
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::prefix_range (a_const_iterator, a_const_iterator)
const
Finds the const iterator range corresponding to all values whose prefixes match [b, e). β¨
β prefix_range (key_const_reference) β
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > std::pair< iterator, iterator >
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::prefix_range (key_const_reference)
Finds the iterator range corresponding to all values whose prefixes match r_key. π
β prefix_range (key_const_reference) const β
template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
typename _Alloc > std::pair< const_iterator, const_iterator >
__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr,
_ATraits, _Alloc >::prefix_range (key_const_reference) const
Finds the const iterator range corresponding to all values whose prefixes match r_key. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. π§
okay bestie, that's the whole page! big kisses and slay β this was the 3cxx manual page, source/version libstdc++, generated automatically by Doxygen from the source code, and the footer stamp is libstd__gnu_pbds::tr...raits, _Alloc >(3cxx). πβ¨
π¦ 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