Share via


duration::operator- Operator

Returns a copy of the duration object with a negated tick count.

constexpr duration operator-() const;

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration Class

<chrono>