Scroll to navigation

std::random_device::max(3) C++ Standard Libary std::random_device::max(3)

NAME

std::random_device::max - std::random_device::max

Synopsis

static constexpr result_type max(); (since C++11)

Returns the maximum value potentially generated by the random-number engine.

Return value

std::numeric_limits<unsigned int>::max()

Complexity

Constant.

See also

min gets the smallest possible value in the output range [static] (public static member function)

2026.11.10 http://cppreference.com