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

Three&hyphen;way comparison operators

== Synopses

Declared in `&lt;mp&hyphen;units&sol;utility&sol;constrained&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/utility/detail/operator_3way-04.adoc[operator&lt;&equals;&gt;](
    xref:mp_units/utility/constrained.adoc[constrained&lt;T, EP&gt;] const& lhs,
    xref:mp_units/utility/constrained.adoc[constrained&lt;U, EP&gt;] const& rhs);
----

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

Three&hyphen;way comparison operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
std::strong&lowbar;ordering
xref:mp_units/utility/detail/operator_3way-09.adoc[operator&lt;&equals;&gt;](
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int&lt;T, EP1&gt;] lhs,
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int&lt;U, EP2&gt;] rhs) noexcept;
----

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


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