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

Return whether `lhs` and `rhs` have the same value&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class DATA&gt;
bool
operator&equals;&equals;(
    xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList&lt;KEY, DATA&gt;] const& lhs,
    xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList&lt;KEY, DATA&gt;] const& rhs);
----

== Description

Two lists A and B have the same value if they have the same number of elements, and if for all i in the range &lsqb;0, numberOfElements), the i&apos;th&rsqb; pair from the front of A has the same key and data values as the i&apos;th pair from the front of B&period; Note that if there are duplicate key values in a list, the order of iteration over those pairs may be different than for another list that was constructed from the same sequence of values (and thus the lists may not compare equal)&period;

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| object providing the value on the left&hyphen;hand side
| *rhs*
| object providing the value on the right&hyphen;hand side
|===


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