std::discrete_distribution<IntType>::max (3) - Linux Man Pages

std::discrete_distribution<IntType>::max: std::discrete_distribution<IntType>::max

NAME

std::discrete_distribution<IntType>::max - std::discrete_distribution<IntType>::max

Synopsis


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
min (public member function)