BloombergLP::bdlc::operator>>

Return the value of the specified array right-shifted by the specified numBits positions, having filled the higher-index positions with zeros. The behavior is undefined unless numBits <= array.length(). Note that the length of the result equals the length of the original array, and that the lowest-order numBits are discarded in the result.

Synopsis

Declared in <bdlc_bitarray.h>

bdlc::BitArray
operator>>(
    BitArray const& array,
    std::size_t numBits);