Megosztás a következőn keresztül:


duration::operator-= Operator

Subtracts the tick count of a specified duration object from the stored tick count.

duration& operator-=(const duration& Dur);

Parameters

  • Dur
    A duration object.

Return Value

The duration object after the subtraction is performed.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration Class

<chrono>