Well there are containers that store booleans in single bits (e.g. std::vector<bool> - which was famously a big mistake).
But in the general case you don't want that because it would be slower.
Well there are containers that store booleans in single bits (e.g. std::vector<bool> - which was famously a big mistake).
But in the general case you don't want that because it would be slower.