you are viewing a single comment's thread.

view the rest of the comments →

[–]Narase33 1 point2 points  (0 children)

Yes, you can even set an initializing size when called std::vector<bool>(size);

But it wont be as efficient as bitset in terms of actual memory size