Return true if lhs and rhs have the same value, else false.

Synopsis

Declared in <bdlc_bitarray.h>

bool
operator==(
    BitArray const& lhs,
    BitArray const& rhs);

Description

Return true if the specified lhs and rhs arrays have the same value, and false otherwise. Two arrays have the same value if they have the same length, and corresponding bits at each bit position have the same value.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

first array to compare

rhs

second array to compare

Created with MrDocs