Return true if the specified lhs and rhs arrays have the same value, and false otherwise.
Declared in <bdlc_compactedarray.h>
template<class TYPE>
bool
operator==(
CompactedArray<TYPE> const& lhs,
CompactedArray<TYPE> const& rhs);
Two CompactedArray arrays have the same value if they have the same length, and all corresponding elements (those at the same indices) have the same value.
true if the arrays have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand-side array |
| rhs | right-hand-side array |