43 hash_exponential_size_policy(size_type start_size, size_type grow_factor) :
44 m_start_size(start_size),
45 m_grow_factor(grow_factor)
53 std::swap(m_start_size, other.m_start_size);
54 std::swap(m_grow_factor, other.m_grow_factor);
58 typename PB_DS_CLASS_C_DEC::size_type
60 get_nearest_larger_size(size_type size)
const
62 size_type ret = m_start_size;
65 const size_type next_ret = ret* m_grow_factor;
74 typename PB_DS_CLASS_C_DEC::size_type
76 get_nearest_smaller_size(size_type size)
const
78 size_type ret = m_start_size;
81 const size_type next_ret = ret* m_grow_factor;
#define PB_DS_CLASS_C_DEC
Definition: bin_search_tree_.hpp:71
#define PB_DS_CLASS_T_DEC
Definition: bin_search_tree_.hpp:67
void __throw_insert_error()
Definition: exception.hpp:80
void __throw_resize_error()
Definition: exception.hpp:88
void swap(exception_ptr &__lhs, exception_ptr &__rhs)
Definition: exception_ptr.h:160