absl::operator<=>

Three-way-compares two durations.

Synopsis

Declared in <absl/time/time.h>

constexpr
std::strong_ordering
operator<=>(
    Duration lhs,
    Duration rhs);

Return Value

The ordering of lhs relative to rhs.

Parameters

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