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

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

== Synopsis

Declared in `&lt;bdlc&lowbar;compactedarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
operator&equals;&equals;(
    xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray&lt;TYPE&gt;] const& rhs);
----

== Description

Two `CompactedArray` arrays have the same value if they have the same length, and all corresponding elements (those at the same indices) have the same value&period;

== Return Value

`true` if the arrays have the same value, and `false` otherwise

== Parameters

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


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