Three‐way comparison operator
Synopsis
Declared in <mp‐units/framework/quantity.h>
[[nodiscard]]
constexpr
auto
operator<=>(
Q const& lhs,
quantity<R2, Rep2> const& rhs);
Return Value
The relative order of the objects
Parameters
| Name | Description |
|---|---|
lhs |
The left operand |
rhs |
The right operand |
Created with MrDocs