3 ms·
In C++, std::vector<bool> does pretty much the same thing under the hood. Sadly, C++ standard library API designers made it impossible to directly access the a
by Const-me 1y ago
In C++, std::vector<bool> does pretty much the same thing under the hood.
Sadly, C++ standard library API designers made it impossible to directly access the array of integers stored inside std::vector<bool>. This made serialization/de-serialization of these vectors very inefficient, sometimes prohibitively so.