absl::operator-

Returns the negation of a duration.

Synopsis

Declared in <absl/time/time.h>

constexpr
Duration
operator-(Duration d);

Return Value

The negated duration.

Parameters

NameDescription
dThe duration to negate.