[#mp_units-operator_3way-06]
= xref:mp_units.adoc[mp&lowbar;units]::operator&lt;&equals;&gt;
:relfileprefix: ../
:mrdocs:

Three&hyphen;way comparison operators

== Synopses

Declared in `&lt;mp&hyphen;units&sol;ext&sol;fixed&lowbar;string&period;h&gt;`

Three&hyphen;way comparison operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
auto
xref:mp_units/operator_3way-01.adoc[operator&lt;&equals;&gt;](
    xref:mp_units/quantity_character.adoc[quantity&lowbar;character] lhs,
    xref:mp_units/quantity_character.adoc[quantity&lowbar;character] rhs) = default;
----

[.small]#xref:mp_units/operator_3way-01.adoc[_» more&period;&period;&period;_]#

Three&hyphen;way comparison operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
auto
xref:mp_units/operator_3way-05.adoc[operator&lt;&equals;&gt;](
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& lhs,
    CharT const(& rhs)[N2]);
----

[.small]#xref:mp_units/operator_3way-05.adoc[_» more&period;&period;&period;_]#

Three&hyphen;way comparison operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
auto
xref:mp_units/operator_3way-0d.adoc[operator&lt;&equals;&gt;](
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& lhs,
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string&lt;CharT, N2&gt;] const& rhs);
----

[.small]#xref:mp_units/operator_3way-0d.adoc[_» more&period;&period;&period;_]#

Three&hyphen;way comparison operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
auto
xref:mp_units/operator_3way-0b.adoc[operator&lt;&equals;&gt;](
    xref:mp_units/symbol_text-032.adoc[symbol&lowbar;text] const& lhs,
    xref:mp_units/symbol_text-032.adoc[symbol&lowbar;text&lt;N2, M2&gt;] const& rhs) noexcept;
----

[.small]#xref:mp_units/operator_3way-0b.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
