libstdc++
|
Public Types | |
typedef std::size_t | size_type |
Public Member Functions | |
sample_size_policy () | |
sample_range_hashing (const sample_size_policy &) | |
void | swap (sample_size_policy &other) |
Protected Member Functions | |
size_type | get_nearest_larger_size (size_type size) const |
size_type | get_nearest_smaller_size (size_type size) const |
A sample size policy.
Definition at line 47 of file sample_size_policy.hpp.
typedef std::size_t __gnu_pbds::sample_size_policy::size_type |
Size type.
Definition at line 51 of file sample_size_policy.hpp.
__gnu_pbds::sample_size_policy::sample_size_policy | ( | ) |
Default constructor.
|
inlineprotected |
Given a __size size, returns a __size that is larger.
|
inlineprotected |
Given a __size size, returns a __size that is smaller.
__gnu_pbds::sample_size_policy::sample_range_hashing | ( | const sample_size_policy & | ) |
Copy constructor.
|
inline |
Swaps content.