__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 _Alloc type, 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 match r_key. πŸ’–
  • std::pair< const_iterator, const_iterator > prefix_range (key_const_reference) const β€” finds the const iterator range corresponding to all values whose prefixes match r_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). πŸ’œβœ¨