__GNU_PBDS::SAMPLE_TRIE_ACCESS_TRAITS(3)

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

πŸ’– 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_size is 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 a char, no cap πŸ’…
  • typedef rebind_traits< _Alloc, key_type >::const_reference key_const_reference β€” a rebind of rebind_traits over _Alloc and key_type, giving you a const_reference. fancy fr fr πŸŽ€
  • typedef std::string key_type β€” the key type is a std::string. slay πŸ”₯
  • typedef std::size_t size_type β€” the size type is a std::size_t. periodt. πŸ‘‘

πŸ¦‹ Static Public Member Functions πŸ¦‹

  • static const_iterator begin (key_const_reference) β€” Returns a const_iterator to the first element of r_key. πŸ₯‡
  • static size_type e_pos (e_type) β€” Maps an element to a position. πŸ—ΊοΈ
  • static const_iterator end (key_const_reference) β€” Returns a const_iterator to the after-last element of r_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], and begin/end both take a key_const_reference while e_pos takes an e_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