BitArray.opIndex

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

struct BitArray
bool
opIndex
(
size_t pos
)

Parameters

pos size_t

The desired index position.

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

Return Value

Type: bool

The value of the bit at pos.

Meta