[#BloombergLP-bdlc-operator_eq-0e8] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` iterators are equal. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool operator==( xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& lhs, xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& rhs); ---- == Description Two `CompactedArray_ConstIterator` iterators have the same value if they both have the default value, or neither has the default value and they reference the same location in the same array. == Return Value `true` if the iterators are 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]#