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

来自cppreference.com
< cpp‎ | numeric‎ | random‎ | random device
(r2.7.3) (机器人添加:de, en, es, fr, it, ja, pt, ru)
 
(未显示1个用户的1个中间版本)
第1行: 第1行:
{{page template|cpp/numeric/random/engine/max|random_device}}
+
{{page|cpp/numeric/random/engine/max|random_device}}
  
[[de:cpp/numeric/random/random device/max]]
+
deenesfritjaptru
[[en:cpp/numeric/random/random device/max]]
+
[[es:cpp/numeric/random/random device/max]]
+
[[fr:cpp/numeric/random/random device/max]]
+
[[it:cpp/numeric/random/random device/max]]
+
[[ja:cpp/numeric/random/random device/max]]
+
[[pt:cpp/numeric/random/random device/max]]
+
[[ru:cpp/numeric/random/random device/max]]
+

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

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

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

[编辑] 返回值

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

[编辑] 复杂度

常数。

[编辑] 参阅

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