Share via


duration::operator++ Operator

Increments 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 increment.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

duration Class

<chrono>