[Patch] First bits of the algo merge
Howard Hinnant
hhinnant@apple.com
Thu Dec 15 16:28:00 GMT 2005
On Dec 15, 2005, at 11:17 AM, chris jefferson wrote:
> Out of interest Howard, do you know vaguely which other compilers
> support these kinds of things?
To the best of my knowledge, only CodeWarrior was specifically
designed to accommodate such use cases. It is an issue that has been
discussed at the lwg level now and then, especially in the context of
what to do about vector<bool>. My personal feeling is that we should
attack vector<bool> on two fronts (speaking from a standards point of
view here):
1. Get rid of it (probably deprecating first) but at the same time
supply the equivalent functionality (e.g. bitvector).
2. Make the std::lib more friendly towards proxied iterators so that
bitvector and containers like it have better interoperability.
Exactly how to do this hasn't been discussed in much detail, except
in isolated cases such as
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#307
which does not address our issue specifically, but is only related in
by point 2 (make std::lib more friendly).
-Howard
More information about the Libstdc++
mailing list