std::geometric_distribution<IntType>::max

result_type max() const;
(since C++11)

Returns the maximum value potentially generated by the distribution.

Parameters

(none).

Return value

The maximum value potentially generated by the distribution.

Complexity

Constant.

See also

returns the minimum potentially generated value
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/geometric_distribution/max