<mp-units/random.h>template<Quantity Q>
requires std::integral<typename Q::rep>
struct uniform_int_distribution
: std::uniform_int_distribution<Q::rep>
| Name | Description |
|---|---|
std::uniform_int_distribution<Q::rep> | Uniform discrete distribution for random numbers. A discrete random distribution on the range |
| Name | Description |
|---|---|
param_type | Parameter type. |
result_type | The type of the range of the distribution. |
| Name | Description |
|---|---|
__generate | |
a | |
b | |
max | Returns the inclusive upper bound of the distribution range. |
min | Returns the inclusive lower bound of the distribution range. |
operator() | Generating functions. |
param | param overloads |
reset | Resets the distribution state. |