absl::operator<

Returns whether one duration is less than another.

Synopsis

Declared in <absl/time/time.h>

constexpr
bool
operator<(
    Duration lhs,
    Duration rhs);

Return Value

true if lhs is less than rhs.

Parameters

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