__gnu_pbds::sa...e_access_traits(3cxx)
β¨ NAME β¨
__gnu_pbds::sample_trie_access_traits β a sample trie element access traits π (yes bestie, it's literally a sample, like the free sample at the mall, except it's C++ template policy stuff and honestly way more iconic)
This page lives in the 3cxx manual β like, the libstdc++ corner of the man-verse π¦
πΈ SYNOPSIS πΈ
#include <sample_trie_access_traits.hpp>
π Public Types π
enum { max_size }β a lil anonymous enum holdingmax_size, no notes on it, it just is β¨typedef std::string::const_iterator const_iteratorβ the const iterator type, slaying under an aliastypedef char e_typeβ Element type.typedef rebind_traits< _Alloc, key_type >::const_reference key_const_referenceβ a const reference to a key, rebound through_Alloc, periodttypedef std::string key_typeβ your key is astd::string, no captypedef std::size_t size_typeβ the size type, standard-issuestd::size_t
π¦ Static Public Member Functions π¦
static const_iterator begin (key_const_reference)β Returns aconst_iteratorto the first element ofr_key.static size_type e_pos (e_type)β Maps an element to a position.static const_iterator end (key_const_reference)β Returns aconst_iteratorto the after-last element ofr_key.
π Detailed Description π
A sample trie element access traits. That's the whole vibe. It's a trait class, it's a sample, it gives trie energy π
π§ Member Typedef Documentation π§
β typedef char __gnu_pbds::sample_trie_access_traits::e_type
Element type. That's it, that's the typedef, and honestly? she ate π
π₯ Member Function Documentation π₯
πΈ static const_iterator __gnu_pbds::sample_trie_access_traits::begin (key_const_reference) [inline], [static]
Returns a const_iterator to the first element of r_key. Classic begin, doing begin things π«Ά
π static size_type __gnu_pbds::sample_trie_access_traits::e_pos (e_type) [inline], [static]
Maps an element to a position. Where does it map it? To a position. Slay π
π¦ static const_iterator __gnu_pbds::sample_trie_access_traits::end (key_const_reference) [inline], [static]
Returns a const_iterator to the after-last element of r_key. The after-last one, not the last one β important distinction bestie, don't come for me π
Heads up:begin,e_posandendare all marked[inline]and[static]in the docs β keep that in mind, iykyk β¨
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So no human wrote this, a robot did, and the robot deserves flowers fr fr πΈπ€
okay that's the whole page bestie, go forth and use your sample trie access traits π
β¨ β and just so we're official: this was libstdc++'s __gnu_pbds::sample_trie_access_traits page from the 3cxx manual, mwah π«Άππ
π¦ 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