16.11 — std::vector<bool>

In lesson , we discussed how std::bitset has the capability to compact 8 Boolean values into a byte. Those bits can then be modified via the member functions of std::bitset. std::vector has an interesting trick up its sleeves. There is a special implementation for std::vector<bool> that may be more space …