BitArray.opSub

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.

struct BitArray
const
opSub
(
ref const(BitArray) rhs
)

Parameters

rhs const(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