Three-way comparison operators
Declared in <absl/time/time.h>
Three-way-compares two times.
constexpr
std::strong_ordering
operator<=>(
Time lhs,
Time rhs);
» more...
Three-way-compares two durations.
constexpr
std::strong_ordering
operator<=>(
Duration lhs,
Duration rhs);
» more...
Performs a three-way comparison of lhs and rhs.
constexpr
std::strong_ordering
operator<=>(
uint128 lhs,
uint128 rhs);
» more...
Three-way compares string data with a Cord.
std::strong_ordering
operator<=>(
std::string_view lhs,
Cord const& rhs);
» more...
Three-way compares a Cord with string data.
std::strong_ordering
operator<=>(
Cord const& lhs,
std::string_view rhs);
» more...
Three-way compares two Cords.
std::strong_ordering
operator<=>(
Cord const& x,
Cord const& y);
» more...
lhs relative to rhs.lhs is less than, equal to, or greater than rhs.x relative to y.| Name | Description |
|---|---|
| lhs | The left-hand time. |
| rhs | The right-hand time. |
| x | The left-hand Cord. |
| y | The right-hand Cord. |