class template
std::uniform_int_distribution
- Header
<random>- Draft
- [rand.dist.uni.int]
- Scope
std- cppreference
- std::uniform_int_distribution
Synopsis
template<class IntType = int>
class uniform_int_distribution;Member types
| Name | Declaration |
|---|---|
param_typeclass · nested | class param_type |
result_typetype alias · member type | = IntType |
Member functions
| Name | Declaration |
|---|---|
uniform_int_distributionconstructor · 3 overloads | uniform_int_distribution() +2 more |
amember function | result_type a() const |
bmember function | result_type b() const |
maxmember function | result_type max() const |
minmember function | result_type min() const |
operator()operator template · 2 overloads | result_type operator()(URBG& g) +1 more |
parammember function · 2 overloads | param_type param() const +1 more |
resetmember function | void reset() |