构造分发点对应。
explicit uniform_real_distribution(result_type min0 =
result_type(0.0), result_type max0 = result_type(1.0));
explicit uniform_real_distribution(const param_type& par0);
参数
min0
随机值的下限。max0
随机值的上限。par0
使用的参数包构造分布。
备注
前置条件: min0 < max0
第一个构造函数构造存储值 stored_min 保存值 min0,并存储值 stored_max 表示值 max0的对象。
第二个构造函数构造存储参数从 par0初始化的对象。
要求
标头: <random>
命名空间: std