public static member function
<chrono>

std::chrono::time_point::max

static constexpr time_point max();
Maximum value of time_point
Returns the maximum value of time_point.

The function calls duration::max to construct an object with the maximum value possible for its internal duration object:
1
static constexpr time_point max() { return duration::max(); }

Parameters

none.

Return value

A time_point object with the latest possible value the type can take.

See also