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

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

== Synopsis

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

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

== Description

Two iterators have the same value if they refer to the same element of the same container or if they both have the end iterator value for the same container&period; The behavior is undefined unless `lhs` and `rhs` refer to the same container and are non&hyphen;singular (i&period;e&period;, are not default&hyphen;constructed or copies of singular iterators)&period;

== Return Value

`true` if equal, and `false` otherwise

== Parameters

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


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