libstdc++
|
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.
Default constructor.
size_type __gnu_pbds::sample_size_policy::get_nearest_larger_size | ( | size_type | size | ) | const [inline, protected] |
Given a __size size, returns a __size that is larger.
size_type __gnu_pbds::sample_size_policy::get_nearest_smaller_size | ( | size_type | size | ) | const [inline, protected] |
Given a __size size, returns a __size that is smaller.
Copy constructor.
void __gnu_pbds::sample_size_policy::swap | ( | sample_size_policy & | other | ) | [inline] |
Swaps content.