BitArray.opIndexAssign

Support for index operations, much like the behavior of built-in arrays.

struct BitArray
bool
opIndexAssign
(
bool b
,
size_t pos
)

Parameters

b bool

The new bit value to set.

pos size_t

The desired index position.

In: pos must be less than the length of this array.

Return Value

Type: bool

The new value of the bit at pos.

Meta