<random>

公有成員函式 (public member function)
<random>

std::negative_binomial_distribution::max

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

由於 negative_binomial_distribution 是一個右邊界無限的分佈,該函式返回result_type:
numeric_limits<result_type>::max()

引數



返回值

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

複雜度

常量。

另見