命名空间
变体
操作

std::random_device::max

来自 cppreference.cn
< cpp‎ | numeric‎ | random‎ | random device
 
 
 
 
 
static constexpr result_type max();
(自 C++11 起)

返回随机数引擎可能生成的最大值。

[edit] 返回值

std::numeric_limits<unsigned int>::max()

[edit] 复杂度

常数。

[edit] 参见

[静态]
获取输出范围内可能的最小值
(公共静态成员函数) [edit]