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

Equality operators

== Synopses

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

Equality operator


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

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/operator_eq-032.adoc[operator&equals;&equals;](
    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_eq-032.adoc[_» more&period;&period;&period;_]#

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/operator_eq-0a.adoc[operator&equals;&equals;](
    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_eq-0a.adoc[_» more&period;&period;&period;_]#

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
bool
xref:mp_units/operator_eq-02f.adoc[operator&equals;&equals;](
    xref:mp_units/reference.adoc[reference] lhs,
    U2 u2);
----

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
bool
xref:mp_units/operator_eq-071.adoc[operator&equals;&equals;](
    xref:mp_units/reference.adoc[reference] lhs,
    xref:mp_units/reference.adoc[reference&lt;Q2, U2&gt;] rhs);
----

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/operator_eq-05.adoc[operator&equals;&equals;](
    Q const& lhs,
    &sol;&ast; implementation-defined &ast;&sol; rhs);
----

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/operator_eq-02a.adoc[operator&equals;&equals;](
    Q const& lhs,
    Value const& rhs);
----

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/operator_eq-077.adoc[operator&equals;&equals;](
    Q const& lhs,
    xref:mp_units/quantity-01.adoc[quantity&lt;R2, Rep2&gt;] const& rhs);
----

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

Equality operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
xref:mp_units/operator_eq-01.adoc[operator&equals;&equals;](
    QP const& lhs,
    QP2 const& rhs);
----

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


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