Scroll to navigation

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

NAME

std::discard_block_engine::max - std::discard_block_engine::max

Synopsis

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

Returns the maximum value potentially generated by the engine adaptor. This value is equal to e.max() where e is the underlying engine.

Parameters

(none)

Return value

The maximum potentially generated value.

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