absl::operator+

Returns the sum of two durations.

Synopsis

Declared in <absl/time/time.h>

Duration
operator+(
    Duration lhs,
    Duration rhs);

Return Value

The sum lhs + rhs.

Parameters

NameDescription
lhsThe left-hand duration.
rhsThe right-hand duration.