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

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

== Synopsis

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

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

== Description

Return `true` if the specified `lhs` and `rhs` arrays have the same value, and `false` otherwise&period; Two arrays have the same value if they have the same length, and corresponding bits at each bit position have the same value&period;

== Return Value

`true` if `lhs` and `rhs` have the same value, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| first array to compare
| *rhs*
| second array to compare
|===


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