Share via


duration::operator+= Operator

Adds the tick count of a specified duration object to the stored tick count.

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

Parameters

  • Dur
    A duration object.

Return Value

The duration object after the addition is performed.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration Class

<chrono>