std::random_device::max
來自 cppreference.com
< cpp | 數值 | 隨機數 | random_device
static constexpr result_type max(); |
(C++11 起) | |
返回隨機數引擎可能生成的最大值。
[編輯] 返回值
std::numeric_limits<unsigned int>::max()
[編輯] 複雜度
常數時間。
[編輯] 參閱
[靜態] |
獲取輸出範圍中的最小可能值 (public static member function) |