公有成員函式
<random>

std::uniform_int_distribution::max

result_type max() const;
最大值
返回成員operator()可能返回的值的最小上界,對於uniform_int_distribution,這是分佈引數b

引數



返回值

分佈引數 b
result_type是一個成員型別,定義為第一個類模板引數的別名 (IntType).

複雜度

常量。

另見