------- Additional Comments From pcarlini at suse dot de 2005-04-18 14:23 ------- > This is news to me. Does this mean that vector<bool> is not going to be > special- > cased any more? That seems like a very bad idea to me, since programs will > suddenly take 8 times as much memory (or even more). What's the rationale?
Oh, well, this is a *well* known issue: roughly, the C++ standard committee considers vector<bool> a serious mistake, because, in short, doesn't conform to *many* of the standard requirements for containers. The current plan (as of Lillehammer, last week) consists of two parts: 1- Deprecating vector<bool>, 2- Adding a new bit_vector container. Of course no one wants to remove the current vector<bool> without a replacement. Please Google a bit for further details or ask me privately. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16611