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

Return `true` if the specified `lhs` list has the same value as the specified `rhs` list, and `false` otherwise&period; 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 pair from the front of A has the&rsqb; 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;

== 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);
----


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