“cpp/numeric/random/random device/max”的版本间的差异

来自cppreference.com
< cpp‎ | numeric‎ | random‎ | random device
(Translated from the English version using Google Translate)
 
P12讨论 | 贡献
(1个修订: Translate from the English version)

2012年10月25日 (四) 16:14的版本

 
 
 
 
 
static constexpr result_type max();
(C++11 起)

返回随机数引擎潜在生成的最大值。

返回值

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

复杂度

常数。

参阅

[静态]
获取输出范围中的最小可能值
(公开静态成员函数) [编辑]