BitArray.opOpAssign

Operator <<= support.

Shifts all the bits in the array to the left by the given number of bits. The leftmost bits are dropped, and 0's are appended to the end to fill up the vacant bits.

Warning: unused bits in the final word up to the next word boundary may be overwritten by this operation. It does not attempt to preserve bits past the end of the array.

  1. BitArray opOpAssign(BitArray e2)
  2. BitArray opOpAssign(bool b)
  3. BitArray opOpAssign(BitArray b)
  4. void opOpAssign(size_t nbits)
    struct BitArray
    @nogc pure nothrow
    void
    opOpAssign
    (
    string op
    )
    (
    size_t nbits
    )
    if (
    op == "<<"
    )
  5. void opOpAssign(size_t nbits)

Meta