41#ifdef PB_DS_CLASS_C_DEC
45hash_exponential_size_policy(size_type start_size, size_type grow_factor) :
46 m_start_size(start_size),
47 m_grow_factor(grow_factor)
53swap(PB_DS_CLASS_C_DEC& other)
55 std::swap(m_start_size, other.m_start_size);
56 std::swap(m_grow_factor, other.m_grow_factor);
60typename PB_DS_CLASS_C_DEC::size_type
62get_nearest_larger_size(size_type size)
const
64 size_type ret = m_start_size;
67 const size_type next_ret = ret* m_grow_factor;
69 __throw_insert_error();
76typename PB_DS_CLASS_C_DEC::size_type
78get_nearest_smaller_size(size_type size)
const
80 size_type ret = m_start_size;
83 const size_type next_ret = ret* m_grow_factor;
85 __throw_resize_error();
void swap(any &__x, any &__y) noexcept
Exchange the states of two any objects.