BloombergLP::bdlc::operator|

Return the value that is the bitwise OR of the specified lhs and rhs arrays. The length of the resulting bit array will be the maximum of that of lhs and rhs, with any unmatched high-order bits copied unchanged. Note that this behavior is consistent with zero-extending a copy of the shorter array.

Synopsis

Declared in <bdlc_bitarray.h>

bdlc::BitArray
operator|(
    BitArray const& lhs,
    BitArray const& rhs);