duration::operator++ Operator

Increments the stored tick count.

duration& operator++();
duration operator++(int);

The first method returns *this.

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

Header: chrono

Namespace: std::chrono

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft