[#BloombergLP-balxml-operator_eq-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

Declared in `&lt;balxml&lowbar;decoderoptions&period;h&gt;`

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balxml/operator_eq-0e6.adoc[operator&equals;&equals;](
    xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo] const& lhs,
    xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo] const& rhs);
----

[.small]#xref:BloombergLP/balxml/operator_eq-0e6.adoc[_» more&period;&period;&period;_]#

Must be a friend for engineering reasons&period; Unlike most value&hyphen;semantic types, there is no efficient way to read the entire value of a namespace registry object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balxml/operator_eq-0ed.adoc[operator&equals;&equals;](
    xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry] const& lhs,
    xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry] const& rhs);
----

[.small]#xref:BloombergLP/balxml/operator_eq-0ed.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balxml/operator_eq-05.adoc[operator&equals;&equals;](
    xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const& lhs,
    xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const& rhs);
----

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

Return `true` if the specified `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balxml/operator_eq-0f.adoc[operator&equals;&equals;](
    xref:BloombergLP/balxml/DecoderOptions.adoc[DecoderOptions] const& lhs,
    xref:BloombergLP/balxml/DecoderOptions.adoc[DecoderOptions] const& rhs);
----

[.small]#xref:BloombergLP/balxml/operator_eq-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

* `true` if both objects have the same value, and `false` otherwise
* `true` if both registries have the same value, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand operand
| *rhs*
| right&hyphen;hand operand
|===


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