[#mp_units-utility-detail-operator_3way-04] = xref:mp_units.adoc[mp_units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/detail.adoc[detail]::operator<=> :relfileprefix: ../../../ :mrdocs: Three‐way comparison operator == Synopsis Declared in `<mp‐units/utility/constrained.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] constexpr auto operator<=>( xref:mp_units/utility/constrained.adoc[constrained<T, EP>] const& lhs, xref:mp_units/utility/constrained.adoc[constrained<U, EP>] const& rhs); ---- == Return Value The relative order of the objects [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left operand | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#