存储分发点对应的参数。
struct param_type {
typedef uniform_int_distribution<IntType> distribution_type;
param_type(result_type a0 = 0,
result_type b0 = 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;
};
备注
此参数包可以传递给 运算符() 创建返回值。
要求
标头: <random>
命名空间: std