std::uniform_real_distribution max() method in C++ with Examples
The max() method of uniform_real_distribution class in C++ is used to get the maximum possible value that can be generated by this uniform_real_distribution.
result_type max() const;
Parameters: This method do not accepts any parameters.
Return Value: This method return the maximum possibly generated value in this uniform_real_distribution.
Max value that can be generated by this uniform_real_distribution: 20.5