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

来自cppreference.com
< cpp‎ | numeric‎ | random‎ | random device
(Translated from the English version using Google Translate)
 
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
{{page template|cpp/numeric/random/engine/max|random_device}}
+
{{page|cpp/numeric/random/engine/max|random_device
 +
 
 +
}}

2017年8月9日 (三) 09:12的最后版本

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

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

[编辑] 返回值

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

[编辑] 复杂度

常数。

[编辑] 参阅

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