公有成員函式
<random>

std::poisson_distribution::max

result_type max() const;
最大值
返回成員 operator() 可能返回的值的範圍的上確界。

因為 poisson_distribution 是右邊界無限的分佈,該函式返回可表示的最大值result_type:
numeric_limits<result_type>::max()

引數



返回值

numeric_limits<result_type>::max()
result_type是一個成員型別,定義為第一個類模板引數的別名 (IntType).

複雜度

常量。

另見