duration::operator-運算子

會儲存滴答計數。

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

傳回值

第一個方法會傳回 *this。

第二個方法則會遞減之前進行 *this 的複本。

需求

長期的標題:

命名空間: std::chrono

請參閱

參考

duration Class

<chrono>