#include <hash_policy.hpp>
Public Types | |
typedef Size_Type | size_type |
Public Member Functions | |
hash_exponential_size_policy (size_type start_size=8, size_type grow_factor=2) | |
void | swap (PB_ASSOC_CLASS_C_DEC &r_other) |
Protected Member Functions | |
size_type | get_init_size (size_type suggested_size) const |
size_type | get_nearest_larger_size (size_type cur_size) const |
size_type | get_nearest_smaller_size (size_type cur_size) const |
Private Attributes | |
size_type | m_start_size |
size_type | m_grow_factor |
Definition at line 476 of file hash_policy.hpp.
typedef Size_Type pb_assoc::hash_exponential_size_policy< Size_Type >::size_type |
Definition at line 479 of file hash_policy.hpp.
pb_assoc::hash_exponential_size_policy< Size_Type >::hash_exponential_size_policy | ( | size_type | start_size = 8 , |
|
size_type | grow_factor = 2 | |||
) |
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::get_init_size | ( | size_type | suggested_size | ) | const [protected] |
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::get_nearest_larger_size | ( | size_type | cur_size | ) | const [protected] |
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::get_nearest_smaller_size | ( | size_type | cur_size | ) | const [protected] |
void pb_assoc::hash_exponential_size_policy< Size_Type >::swap | ( | PB_ASSOC_CLASS_C_DEC & | r_other | ) |
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::m_grow_factor [private] |
Definition at line 504 of file hash_policy.hpp.
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::m_start_size [private] |
Definition at line 503 of file hash_policy.hpp.