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

NameDescription
lhsThe left operand
rhsThe right operand