Or pull out the C++ and use std::vector<bool>,... But you should probably never do that
I heard the C++ guys regret defining vector<bool> using 1 bit per value.
Also for most code it will be premature optimization to worry about that.
I heard the C++ guys regret defining vector<bool> using 1 bit per value.
Also for most code it will be premature optimization to worry about that.