mp_units::operator<=>

Three-way comparison operator

Synopsis

Declared in <mp-units/framework/quantity_point.h>
[[nodiscard]]
constexpr
auto
operator<=>(
    QP const& lhs,
    QP2 const& rhs);

Return Value

The relative order of the objects

Parameters

Name Description
lhs The left operand
rhs The right operand