public member function
<random>

std::poisson_distribution::max

result_type max() const;
Maximum value
Returns the least upper bound of the range of values potentially returned by member operator().

Because poisson_distribution is a right-unbounded distribution, the function returns the maximum value representable by result_type:
numeric_limits<result_type>::max()

Parameters

none

Return value

numeric_limits<result_type>::max()
result_type is a member type, defined as an alias of the first class template parameter (IntType).

Complexity

Constant.

See also