[#BloombergLP-bdlc-operator_eq-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if `lhs` and `rhs` have the same value, and `false` otherwise. == Synopsis Declared in `<bdlc_indexclerk.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( 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. The behavior is undefined unless `lhs` and `rhs` refer to the same container and are non‐singular (i.e., are not default‐constructed or copies of singular iterators). == Return Value `true` if equal, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand‐side iterator | *rhs* | right‐hand‐side iterator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#