[#mp_units-operator_3way-0c3] = xref:mp_units.adoc[mp_units]::operator<=> :relfileprefix: ../ :mrdocs: Three‐way comparison operator == Synopsis Declared in `<mp‐units/framework/quantity.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::derived_from<quantity> Q, xref:mp_units/RepresentationOf.adoc[RepresentationOf<quantity_spec>] Value> requires detail::DimensionlessOne<Q::reference> && std::three_way_comparable_with<rep, Value> [[nodiscard]] constexpr auto operator<=>( Q const& lhs, Value const& rhs); ---- == Return Value The relative order of the objects == Parameters [cols=2] |=== | Name | Description | *lhs* | The left operand | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#