BloombergLP::bdlc::operator!=

Return true if lhs and rhs do not 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 do not have the same value, and false otherwise. Two arrays do not have the same value if they do not have the same length, or there is at least one valid index position at which corresponding bits do not have the same value.

Return Value

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

Parameters

NameDescription
lhsfirst array to compare
rhssecond array to compare