operator [] method

bool operator [](
  1. int index
)

The value of the bit with the specified index.

Implementation

bool operator [](int index) {
  return (_data[index >> 5] & _bitMask(index)) != 0;
}