41 #ifndef PB_DS_SAMPLE_SIZE_POLICY_HPP
42 #define PB_DS_SAMPLE_SIZE_POLICY_HPP
std::size_t size_type
Size type.
size_type get_nearest_larger_size(size_type size) const
Given a __size size, returns a __size that is larger.
GNU extensions for policy-based data structures for public use.
sample_range_hashing(const sample_size_policy &)
Copy constructor.
size_type get_nearest_smaller_size(size_type size) const
Given a __size size, returns a __size that is smaller.
void swap(sample_size_policy &other)
Swaps content.
sample_size_policy()
Default constructor.