命名空间
变体
操作

std::uniform_int_distribution<IntType>::max

来自 cppreference.cn
 
 
 
 
 
result_type max() const;
(C++11 起)

返回分布可能生成的最大值。

目录

[编辑] 参数

(无)

[编辑] 返回值

分布可能生成的最大值。

[编辑] 复杂度

常数时间。

[编辑] 参阅

(C++11)
返回可能生成的最小值
(public member function) [编辑]