| 56 | |
| 57 | bool get(int i) const { return _bits.at(i) != 0; } |
| 58 | void set(int i, bool val) { _bits.at(i) = val; } |
| 59 | |
| 60 | // If you know exactly how may bits you are going to iterate |
| 61 | // and that you access bit in sequence, iterator is faster than get(). |
no test coverage detected