Bit/bool vector implemented in C++ using std::vector and std::bitset