mp_units::operator<=>

Three-way comparison operator

Synopsis

Declared in <mp-units/framework/symbol_text.h>

[[nodiscard]]
constexpr
auto
operator<=>(
    symbol_text const& lhs,
    symbol_text<N2, M2> const& rhs) noexcept;

Return Value

The relative order of the objects

Parameters

NameDescription
lhsThe left operand
rhsThe right operand