命名空间
变体
操作

std::philox_engine<UIntType,w,n,r,consts>::max

来自 cppreference.cn
< cpp‎ | 数值‎ | 随机‎ | philox_engine
 
 
 
 
 
static constexpr result_type max();
(C++26 起)

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

[编辑] 返回值

2w
-1

[编辑] 复杂度

常数时间。

[编辑] 参阅

[静态]
获取输出范围中的最小可能值
(public static member function) [编辑]