Left‐shift this bit array by numBits positions.
Synopsis
Declared in <bdlc_bitarray.h>
BitArray&
operator<<=(std::size_t numBits);
Description
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.
Return Value
non‐`const` reference to this object
Parameters
Name |
Description |
numBits |
number of bit positions to shift left |
Created with MrDocs