41 #ifndef PB_DS_SAMPLE_SIZE_POLICY_HPP
42 #define PB_DS_SAMPLE_SIZE_POLICY_HPP
size_type get_nearest_smaller_size(size_type size) const
Given a __size size, returns a __size that is smaller.
size_type get_nearest_larger_size(size_type size) const
Given a __size size, returns a __size that is larger.
std::size_t size_type
Size type.
Definition: sample_size_policy.hpp:51
A sample size policy.
Definition: sample_size_policy.hpp:47
sample_range_hashing(const sample_size_policy &)
Copy constructor.
__SIZE_TYPE__ size_t
Definition: stddef.h:212
sample_size_policy()
Default constructor.
void swap(sample_size_policy &other)
Swaps content.