add boolean vector set in C++