.TH "__gnu_pbds::hash_exponential_size_policy< Size_Type >" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::hash_exponential_size_policy< Size_Type > \- A size policy whose sequence of sizes form an exponential sequence (typically powers of 2\&. .SH SYNOPSIS .br .PP .PP Inherited by \fB__gnu_pbds::hash_standard_resize_policy< Size_Policy, Trigger_Policy, External_Size_Access, Size_Type >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef Size_Type \fBsize_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBhash_exponential_size_policy\fP (size_type start_size=8, size_type grow_factor=2)" .br .RI "Default constructor, or onstructor taking a start_size, or constructor taking a start size and grow_factor\&. The policy will use the sequence of sizes start_size, start_size* grow_factor, start_size* grow_factor^2, \&.\&.\&. " .ti -1c .RI "void \fBswap\fP (\fBhash_exponential_size_policy\fP< Size_Type > &other)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "size_type \fBget_nearest_larger_size\fP (size_type size) const" .br .ti -1c .RI "size_type \fBget_nearest_smaller_size\fP (size_type size) const" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_pbds::hash_exponential_size_policy< Size_Type >" A size policy whose sequence of sizes form an exponential sequence (typically powers of 2\&. .PP Definition at line 413 of file hash_policy\&.hpp\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fB__gnu_pbds::hash_exponential_size_policy\fP< Size_Type >::\fBhash_exponential_size_policy\fP (size_type start_size = \fC8\fP, size_type grow_factor = \fC2\fP)" .PP Default constructor, or onstructor taking a start_size, or constructor taking a start size and grow_factor\&. The policy will use the sequence of sizes start_size, start_size* grow_factor, start_size* grow_factor^2, \&.\&.\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.