Share via


duration::operator-- Operator

Decrements the stored tick count.

duration& operator--();
duration operator--(int);

Return Value

The first method returns *this.

The second method returns a copy of *this that is made before the decrement.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration Class

<chrono>