41 #ifndef PB_DS_SAMPLE_SIZE_POLICY_HPP 42 #define PB_DS_SAMPLE_SIZE_POLICY_HPP 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.
void swap(sample_size_policy &other)
Swaps content.
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.
constexpr auto size(const _Container &__cont) noexcept(noexcept(__cont.size())) -> decltype(__cont.size())
Return the size of a container.
sample_size_policy()
Default constructor.
GNU extensions for policy-based data structures for public use.