[#mp_units-operator_3way-06] = xref:mp_units.adoc[mp_units]::operator<=> :relfileprefix: ../ :mrdocs: Three‐way comparison operators == Synopses Declared in `<mp‐units/ext/fixed_string.h>` Three‐way comparison operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::size_t N2> [[nodiscard]] consteval auto xref:mp_units/operator_3way-05.adoc[operator<=>]( xref:mp_units/basic_fixed_string-08.adoc[basic_fixed_string] const& lhs, CharT const(& rhs)[]); ---- [.small]#xref:mp_units/operator_3way-05.adoc[_» more..._]# Three‐way comparison operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::size_t N2> [[nodiscard]] constexpr auto xref:mp_units/operator_3way-0d.adoc[operator<=>]( xref:mp_units/basic_fixed_string-08.adoc[basic_fixed_string] const& lhs, xref:mp_units/basic_fixed_string-08.adoc[basic_fixed_string<CharT, N2>] const& rhs); ---- [.small]#xref:mp_units/operator_3way-0d.adoc[_» more..._]# Three‐way comparison operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::size_t N2, std::size_t M2> [[nodiscard]] constexpr auto xref:mp_units/operator_3way-0b.adoc[operator<=>]( xref:mp_units/symbol_text-032.adoc[symbol_text] const& lhs, xref:mp_units/symbol_text-032.adoc[symbol_text<N2, M2>] const& rhs) noexcept; ---- [.small]#xref:mp_units/operator_3way-0b.adoc[_» more..._]# Three‐way comparison operator [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 xref:mp_units/operator_3way-0c3.adoc[operator<=>]( Q const& lhs, Value const& rhs); ---- [.small]#xref:mp_units/operator_3way-0c3.adoc[_» more..._]# Three‐way comparison operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::derived_from<quantity> Q, auto R2, typename Rep2> requires requires { typename std::common_type_t<quantity, quantity<R2, Rep2>>; } && std::three_way_comparable<typename std::common_type_t<quantity, quantity<R2, Rep2>>::rep> [[nodiscard]] constexpr auto xref:mp_units/operator_3way-01.adoc[operator<=>]( Q const& lhs, xref:mp_units/quantity-01.adoc[quantity<R2, Rep2>] const& rhs); ---- [.small]#xref:mp_units/operator_3way-01.adoc[_» more..._]# Three‐way comparison operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::derived_from<quantity_point> QP, xref:mp_units/QuantityPointOf.adoc[QuantityPointOf<absolute_point_origin>] QP2> requires std::three_way_comparable_with<quantity_type, typename QP2::quantity_type> [[nodiscard]] constexpr auto xref:mp_units/operator_3way-0c8.adoc[operator<=>]( QP const& lhs, QP2 const& rhs); ---- [.small]#xref:mp_units/operator_3way-0c8.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#