__gnu_pbds::has...ime_size_policy(3cxx)
β¨ NAME β¨
This is the __gnu_pbds::hash_prime_size_policy page from the libstdc++ manual β the (3cxx) page, header tag and all (__gnu_pbds::has...ime_size_policy(3cxx), truncated bestie, not me making that up π
).
__gnu_pbds::hash_prime_size_policy β a size policy whose sequence of sizes forms a nearly-exponential sequence of primes. No cap, it's giving prime-size energy π₯.
π¦ SYNOPSIS π¦
#include <hash_policy.hpp>
π«Ά Public Types
typedef std::size_t size_typeβ size type, iconic and simple β¨
π Public Member Functions
hash_prime_size_policy (size_type start_size=8)β default constructor, or constructor taking astart_size; the policy will use the sequence of sizes approximatelystart_size,start_size* 2,start_size* 2^2, ... πΈvoid swap (hash_prime_size_policy &other)β the swap signature is just this, periodt π«
π Protected Member Functions
size_type get_nearest_larger_size (size_type size) constβ protected helper signature, exactly as listed πsize_type get_nearest_smaller_size (size_type size) constβ protected helper signature, exactly as listed π
π« Detailed Description π«
A size policy whose sequence of sizes forms a nearly-exponential sequence of primes. That's the whole vibe: sizes, primes, nearly exponential, slay π.
π§ Member Typedef Documentation π§
typedef std::size_t __gnu_pbds::hash_prime_size_policy::size_type
Size type. Tiny detail, big main-character energy π.
π Constructor & Destructor Documentation π
__gnu_pbds::hash_prime_size_policy::hash_prime_size_policy (size_type start_size = 8)
Default constructor, or constructor taking a start_size. The policy will use the sequence of sizes approximately start_size, start_size* 2, start_size* 2^2, ... β yes bestie, that exact sequence, don't come for me ππ.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
okay that's the whole page, bestie π«Ά β sign-off time: source/version is the libstdc++ manual footer tag libst__gnu_pbds::has...ime_size_policy(3cxx), and the date slot is literally empty in this copy, so no date shown, iykyk ππ
π¦ 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