This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: iter_swapping vector<bool>::iterator..
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Chris Jefferson <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 18 Mar 2005 15:51:19 +0100
- Subject: Re: iter_swapping vector<bool>::iterator..
- References: <423AE805.6060407@cs.york.ac.uk>
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.