Partager via


duration::max Method

Static method that returns the upper bound for values of template parameter type Ref.

static constexpr duration max();

Return Value

In effect, returns duration(duration_values<rep>::max()).

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration Class

duration_values Structure

<chrono>