__GNU_PBDS::SAMPLE_TRIE_ACCESS_TRAITS(3)
π NAME π
__gnu_pbds::sample_trie_access_traits β a sample trie element access traits, bestie. That's the whole vibe. It's a sample, it's a trie, it's access traits. Iconic. β¨
This page lives in the Library Functions Manual, so you already know it's the real deal.
πΈ SYNOPSIS πΈ
#include <sample_trie_access_traits.hpp>
β¨ Public Types β¨
enum { max_size }β yes, an anonymous enum, and yes,max_sizeis its only little guy π«Άtypedef std::string::const_iterator const_iteratorβ the const_iterator. That's it. That's the tea. βtypedef char e_typeβ the element type. literally just achar, no cap πtypedef rebind_traits< _Alloc, key_type >::const_reference key_const_referenceβ a rebind ofrebind_traitsover_Allocandkey_type, giving you aconst_reference. fancy fr fr πtypedef std::string key_typeβ the key type is astd::string. slay π₯typedef std::size_t size_typeβ the size type is astd::size_t. periodt. π
π¦ 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 description. She's a sample, she has trie element access traits, she's serving. π
π Member Typedef Documentation π
typedef char __gnu_pbds::sample_trie_access_traits::e_type
Element type. one char. humble but crucial, honestly ππ
π§ Member Function Documentation π§
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. The beginning! The origin story! The main character entrance! πβ¨
size_type __gnu_pbds::sample_trie_access_traits::e_pos (e_type ) [inline], [static]
Maps an element to a position. element goes in, position comes out. it's giving transformation π«
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. not the last one, bestie β the one after it. classic end-iterator behaviour, we love a boundary π§πΈ
β Author β
Generated automatically by Doxygen for libstdc++ from the source code. not a human, just Doxygen doing Doxygen things ππ€
lowkey reminder: all three member functions are[inline]and[static], andbegin/endboth take akey_const_referencewhilee_postakes ane_type. don't mix 'em up π
okay that's the page, bestie β go forth and trie π¦ this came straight out of the libstdc++ manual page for __gnu_pbds...cess_traits(3), and the date field on it is just... blank, so no date for us, we move ππ
π¦ 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