cpp/chrono/duration/abs

Returns the absolute value of the duration. Specifically, if, return , otherwise return.

The function does not participate in the overload resolution unless is.

Return value
Absolute value of