__GNU_PBDS::DETAIL::TRIE_POLICY_BASE(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 6 versions
, in arch rolling, fedora 44

πŸ’– __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc > πŸ’–

okay bestie, welcome to the Library Functions Manual β€” this is the page for __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >, and yes the name is a whole mouthful, we're gonna get through it together 🫢


✨ NAME ✨

__gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc > β€” Base class for trie policies. that's literally it, that's the whole job description πŸ’…


🌸 SYNOPSIS 🌸

#include <trie_policy_base.hpp>

Inherits __gnu_pbds::detail::branch_policy< Node_CItr, Node_Itr, _Alloc >. it's giving legacy, it's giving bloodline πŸ‘‘

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]. two private heirs, very demure, very mysterious πŸ™ˆ

πŸ‘‘ Public Types

  • 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

  • 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

  • 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 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. no cap, that's the whole vibe. it's the base, everything else is building on top of it, main character energy fr fr 🌈


πŸ”₯ Member Function Documentation πŸ”₯

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 >.

⚠️ heads up bestie: this one is pure virtual β€” it has no body of its own, so anybody inheriting from this has to bring their own end (). no shortcuts, no skipping, periodt πŸ’€

🧚 Author 🧚

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


and that's the page!! πŸŽ€ huge shoutout to libstdc++ for the source, and to Doxygen for auto-generating this whole thing so nobody had to hand-type those template params (bless πŸ™). you understood all of it, i'm so proud of you, mwah πŸ’–βœ¨

πŸ“¦ 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