uniform_int_distribution::param_type
Stores the parameters of the distribution.
struct param_type {
typedef uniform_int_distribution<IntType> distribution_type;
param_type(IntType a = 0, IntType b = std::numeric_limits<IntType>::max());
result_type a() const;
result_type b() const;
.....
bool operator==(const param_type& right) const;
bool operator!=(const param_type& right) const;
};
Parameters
See parent topic uniform_int_distribution Class.
Remarks
**Precondition:**a ≤ b
This structure can be passed to the distribution's class constructor at instantiation, to the param() member function to set the stored parameters of an existing distribution, and to operator() to be used in place of the stored parameters.
Requirements
Header: <random>
Namespace: std