BitArray.opBinary

Generates a new array which is the result of this array minus the supplied array.

a - b for BitArrays means the same thing as a & ~b.

  1. BitArray opBinary(BitArray rhs)
  2. BitArray opBinary(BitArray rhs)
    struct BitArray
    opBinary
    (
    string op : "-"
    )
  3. BitArray opBinary(bool rhs)
  4. BitArray opBinary(BitArray rhs)

Parameters

op

operation to perform

rhs BitArray

The array with which to perform the subtraction operation.

In: rhs.length must equal the length of this array.

Return Value

Type: BitArray

A new array which is the result of this array minus the supplied array.

Meta