bit_vector
has the same interface as an std::vector
, and is optimised for space. It not a part of standard C++. This documentation claims it is close to an STL vector<bool>
, which presumably is quite close to a standard C++ std::vector<bool>
.
std::bitset is fixed size, and has a different interface.