| 147 | public: |
| 148 | Access(BitVector& v, int i) : v(v), i(i) {} |
| 149 | bool get() const { return v.get_bit(i); } |
| 150 | void operator=(bool b) { v.set_bit(i, b); } |
| 151 | void operator=(const Access& other) { *this = other.get(); } |
| 152 | void operator^=(const Access& other) { *this = get() ^ other.get(); } |
no test coverage detected