Function call operators
Declared in <absl/random/uniform_int_distribution.h>
Generates a random value in the interval [a, b].
template<typename URBG>
result_type
operator()(URBG& gen);
» more...
Generates a random value using the given parameter set.
template<typename URBG>
result_type
operator()(
URBG& gen,
param_type const& param);
» more...
A random value in the closed interval [a, b].
| Name | Description |
|---|---|
| gen | The uniform random bit generator. |
| param | The parameter set to use for this call. |