.TH "__gnu_pbds::hash_prime_size_policy" 3cxx "Mon May 22 2017" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::hash_prime_size_policy \- A size policy whose sequence of sizes form a nearly-exponential sequence of primes\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef std::size_t \fBsize_type\fP" .br .RI "Size type\&. " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBhash_prime_size_policy\fP (\fBsize_type\fP start_size=8)" .br .RI "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, \&.\&.\&. " .ti -1c .RI "void \fBswap\fP (\fBhash_prime_size_policy\fP &other)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBsize_type\fP \fBget_nearest_larger_size\fP (\fBsize_type\fP size) const" .br .ti -1c .RI "\fBsize_type\fP \fBget_nearest_smaller_size\fP (\fBsize_type\fP size) const" .br .in -1c .SH "Detailed Description" .PP A size policy whose sequence of sizes form a nearly-exponential sequence of primes\&. .PP Definition at line 450 of file hash_policy\&.hpp\&. .SH "Member Typedef Documentation" .PP .SS "typedef std::size_t \fB__gnu_pbds::hash_prime_size_policy::size_type\fP" .PP Size type\&. .PP Definition at line 454 of file hash_policy\&.hpp\&. .SH "Constructor & Destructor Documentation" .PP .SS "__gnu_pbds::hash_prime_size_policy::hash_prime_size_policy (\fBsize_type\fP start_size = \fC8\fP)\fC [inline]\fP" .PP 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, \&.\&.\&. .PP Definition at line 127 of file hash_policy\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.