This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: iter_swapping vector<bool>::iterator..


On Mon, 21 Mar 2005 14:48:13 +0000, Chris Jefferson <caj@cs.york.ac.uk> wrote:

> I've attached iter_swap_patch (a very small patch to iter_swap in
> stl_algobase.h), a test case (20577.cc) and a Changelog. Sorry that this
> isn't slightly neater.. If you have some code with some vector<bool>s
> (and things derived from them), it would be really nice if you could
> test it :)
> 

Nice job. I have applied your patch and tested every vector<bool> code
I remember writing. Everything compiles fine. All results are the same
as before the breakage, id est hopefully correct ;-)

Tested functions are at least:
std::swap, std::fill_n, std::reverse, std::rotate, begin(), end()

Thanks alot,
Felix


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]