共用方式為


time_point::operator+= Operator

Adds a specified value to the stored duration value.

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

Parameters

  • Dur
    A duration object.

Return Value

The time_point object after the addition is performed.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

time_point Class

<chrono>