共用方式為


duration_values::max Method

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

static Rep max();

Return Value

In effect, returns numeric_limits<Rep>::max().

Remarks

When Rep is a user-defined type, the return value must be greater than duration_values::zero.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration_values Structure

<chrono>

numeric_limits Class