.TH "std::__detail::_Power2_rehash_policy" 3cxx "Fri May 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::__detail::_Power2_rehash_policy \- Rehash policy providing power of 2 bucket numbers\&. Avoids modulo operations\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "using \fB__has_load_factor\fP = \fBstd::true_type\fP" .br .ti -1c .RI "typedef std::size_t \fB_State\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fB_Power2_rehash_policy\fP (float __z=1\&.0) noexcept" .br .ti -1c .RI "std::size_t \fB_M_bkt_for_elements\fP (std::size_t __n) const noexcept" .br .ti -1c .RI "\fBstd::pair\fP< bool, std::size_t > \fB_M_need_rehash\fP (std::size_t __n_bkt, std::size_t __n_elt, std::size_t __n_ins) noexcept" .br .ti -1c .RI "std::size_t \fB_M_next_bkt\fP (std::size_t __n) noexcept" .br .ti -1c .RI "void \fB_M_reset\fP () noexcept" .br .ti -1c .RI "void \fB_M_reset\fP (_State __state) noexcept" .br .ti -1c .RI "_State \fB_M_state\fP () const noexcept" .br .ti -1c .RI "float \fBmax_load_factor\fP () const noexcept" .br .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "float \fB_M_max_load_factor\fP" .br .ti -1c .RI "std::size_t \fB_M_next_resize\fP" .br .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static const std::size_t \fB_S_growth_factor\fP" .br .in -1c .SH "Detailed Description" .PP Rehash policy providing power of 2 bucket numbers\&. Avoids modulo operations\&. .PP Definition at line 522 of file hashtable_policy\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.