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

Three&hyphen;way comparison operator

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;safe&lowbar;int&period;h&gt;`

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

== Return Value

The relative order of the objects

== Parameters

[cols="1,4"]
|===
|Name|Description

| *lhs*
| The left operand
| *rhs*
| The right operand
|===


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