Return true if lhs and rhs have the same value.

Synopsis

Declared in <bdlc_packedintarray.h>

template<class TYPE>
bool
operator==(
    PackedIntArray<TYPE> const& lhs,
    PackedIntArray<TYPE> const& rhs);

Description

Return true if the specified lhs and rhs arrays have the same value, and false otherwise. Two PackedIntArray 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 lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand‐side array

rhs

right‐hand‐side array

Created with MrDocs