__gnu_pbds::hash_prime_size_policy(3cxx) | __gnu_pbds::hash_prime_size_policy(3cxx) |
__gnu_pbds::hash_prime_size_policy - A size policy whose sequence of sizes form a nearly-exponential sequence of primes.
#include <hash_policy.hpp>
typedef std::size_t size_type
Size type.
hash_prime_size_policy (size_type start_size=8)
Default constructor, or onstructor taking a start_size The policy will use the
sequence of sizes approximately start_size, start_size* 2, start_size* 2^2,
... void swap (hash_prime_size_policy &other)
size_type get_nearest_larger_size (size_type
size) const
size_type get_nearest_smaller_size (size_type size) const
A size policy whose sequence of sizes form a nearly-exponential sequence of primes.
Definition at line 450 of file hash_policy.hpp.
Size type.
Definition at line 454 of file hash_policy.hpp.
Default constructor, or onstructor taking a start_size The policy will use the sequence of sizes approximately start_size, start_size* 2, start_size* 2^2, ...
Generated automatically by Doxygen for libstdc++ from the source code.
Thu Feb 16 2023 | libstdc++ |