Returns whether the bit with the given index is set to one.
Source
bool operator [](T index) {
assert(index.index < _length);
return (_bits & 1 << index.index) > 0;
}
Returns whether the bit with the given index is set to one.
bool operator [](T index) {
assert(index.index < _length);
return (_bits & 1 << index.index) > 0;
}