公有成員函式
<random>

std::bernoulli_distribution::max

bool max() const;
最大值
返回成員 operator() 可能返回的值的範圍的上界,對於 bernoulli_distribution 來說是true.

引數



返回值

true

複雜度

常量。

另見