iter_swapping vector<bool>::iterator..

Paolo Carlini pcarlini@suse.de
Fri Mar 18 14:51:00 GMT 2005


Chris Jefferson wrote:

> I've just wandered across a problem in iter_swap.. that if you
> specialise iter_swap to use swap, then you can't iter_swap
> vector<bool>::iterators any more ¬_¬

Why? Please explain, this is a serious issue, not a joke: we are talking
about a 4.0 *regression*. For 4.0 we should definitely revert to the old
behavior, in my opinion. Then we can try to figure out a better solution,
but only for mainline. Also, please provide a testcase.

Thanks,
Paolo.



More information about the Libstdc++ mailing list