BloombergLP::bdlc::CompactedArray::isEqual

Return true if this and the specified other array have the same value.

Synopsis

Declared in <bdlc_compactedarray.h>

bool
isEqual(CompactedArray const& other) const;

Description

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.

Return Value

true if the arrays have the same value, and false otherwise

Parameters

NameDescription
otherarray to compare with this array