__GNU_PBDS::DETAIL::TRIE_POLICY_BASE(3cxx)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the libstdc++ manual page for __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc > β€” it’s literally the base class for trie policies. periodt. πŸ’…


✨ SYNOPSIS ✨

#include <trie_policy_base.hpp>

It inherits __gnu_pbds::detail::branch_policy< Node_CItr, Node_Itr, _Alloc >.

It’s inherited by __gnu_pbds::trie_order_statistics_node_update< Node_CItr, Node_Itr, _ATraits, _Alloc > [private], and __gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr, _ATraits, _Alloc > [private].

🌸 Public Types 🌸

bestie, here’s the public typedef menu:

  • typedef _ATraits access_traits
  • typedef _Alloc allocator_type
  • typedef node_const_iterator::value_type const_iterator
  • typedef node_iterator::value_type iterator
  • typedef base_type::key_const_reference key_const_reference
  • typedef base_type::key_type key_type
  • typedef null_type metadata_type
  • typedef Node_CItr node_const_iterator
  • typedef Node_Itr node_iterator
  • typedef allocator_type::size_type size_type

πŸŽ€ Protected Types πŸŽ€

and these are the protected typedefs, lowkey iconic:

  • typedef rebind_v::const_pointer const_pointer
  • typedef rebind_v::const_reference const_reference
  • typedef Node_Itr::value_type it_type
  • typedef remove_const< key_type >::type rckey_type
  • typedef remove_const< value_type >::type rcvalue_type
  • typedef rebind_traits< _Alloc, rckey_type > rebind_k
  • typedef rebind_traits< _Alloc, rcvalue_type > rebind_v
  • typedef rebind_v::reference reference
  • typedef std::iterator_traits< it_type >::value_type value_type

πŸ¦‹ Protected Member Functions πŸ¦‹

protected member functions, coming in hot:

  • virtual const_iterator end () const =0
  • virtual iterator end ()=0
  • it_type end_iterator () const
  • virtual const access_traits & get_access_traits () const =0
  • virtual node_const_iterator node_begin () const =0
  • virtual node_iterator node_begin ()=0
  • virtual node_const_iterator node_end () const =0
  • virtual node_iterator node_end ()=0

⭐ Static Protected Member Functions ⭐

static protected member functions, slay:

  • static size_type common_prefix_len (node_iterator, e_const_iterator, e_const_iterator, const access_traits &)
  • static key_const_reference extract_key (const_reference r_val)
  • static iterator leftmost_it (node_iterator)
  • static bool less (e_const_iterator, e_const_iterator, e_const_iterator, e_const_iterator, const access_traits &)
  • static iterator rightmost_it (node_iterator)

πŸ‘‘ Detailed Description πŸ‘‘

template<typename Node_CItr, typename Node_Itr, typename _ATraits, typename _Alloc>
class __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >"Base class for trie policies.

yes, that stray " before Base class is in the original, bestie β€” not me, I’m just reporting the tea. πŸ«– The actual class tea is: Base class for trie policies.


πŸ’… Member Function Documentation πŸ’…

🧚 end () 🧚

template<typename Node_CItr , typename Node_Itr , typename _ATraits ,
         typename _Alloc > virtual iterator
__gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::end ()
[protected], [pure virtual]

Implements __gnu_pbds::detail::branch_policy< Node_CItr, Node_Itr, _Alloc >.


🌈 Author 🌈

Generated automatically by Doxygen for libstdc++ from the source code.


okay that’s the whole page, bestie 🫢 source/version from the footer is libstd, and the date slot is not printed in this copy β€” no invented date tea here, fr fr. πŸ’–βœ¨