Return true if the specified lhs and rhs iterators are equal.

Synopsis

Declared in <bdlc_compactedarray.h>

template<class TYPE>
bool
operator==(
    CompactedArray_ConstIterator<TYPE> const& lhs,
    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

Name

Description

lhs

left‐hand‐side iterator

rhs

right‐hand‐side iterator

Created with MrDocs