mp_units::operator<=>¶
Three-way comparison operator
Synopsis¶
Declared in <mp-units/framework/quantity_character.h>
[[nodiscard]] constexpr auto operator<=>(quantity_character lhs, quantity_character rhs) = default;
Return Value¶
The relative order of the objects
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |