[#mp_units-utility-operator_eq-0a]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/utility.adoc[utility]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/utility/operator_eq-07.adoc[operator&equals;&equals;](
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int] lhs,
    xref:mp_units/utility/constrained.adoc[constrained&lt;U, CP&gt;] const& rhs);
----

[.small]#xref:mp_units/utility/operator_eq-07.adoc[_» more&period;&period;&period;_]#

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/utility/operator_eq-0e.adoc[operator&equals;&equals;](
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int] lhs,
    U rhs);
----

[.small]#xref:mp_units/utility/operator_eq-0e.adoc[_» more&period;&period;&period;_]#

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/utility/operator_eq-01.adoc[operator&equals;&equals;](
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int] lhs,
    U rhs);
----

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/utility/operator_eq-0b.adoc[operator&equals;&equals;](
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int] lhs,
    xref:mp_units/utility/safe_int-07.adoc[safe&lowbar;int] rhs) noexcept;
----

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


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