Constructors
Declared in <absl/random/uniform_int_distribution.h>
Constructs a distribution over the entire range of result_type.
uniform_int_distribution();
» more...
Constructs a distribution from the given parameter set.
explicit
uniform_int_distribution(param_type const& param);
» more...
Constructs a distribution over the closed interval [lo, hi].
explicit
uniform_int_distribution(
result_type lo,
result_type hi = (std::numeric_limits<result_type>::max)());
» more...
| Name | Description |
|---|---|
| param | The parameter set. |
| lo | The lower bound of the closed interval. |
| hi | The upper bound of the closed interval. |