Shift the bits in this array LEFT by the specified numBits, filling lower‐order bits with zeros (retaining the results), and return a non‐`const` reference to this object. The behavior is undefined unless numBits <= length(). Note that the length of this array is unchanged and the highest‐order numBits are discarded.

Synopsis

Declared in <bdlc_bitarray.h>

BitArray&
operator<<=(std::size_t numBits);

Created with MrDocs