A bit-array in C++