[#BloombergLP-bdlc-operator_eq-091] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator== :relfileprefix: ../../ :mrdocs: Return whether the iterators refer to the same position (see free `operator==`). == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> bool operator==( xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator] const& lhs, xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator] const& rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value `true` if the iterators refer to the same position, 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]#