This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: ping?
Here are two changelogs, one for the iter_swap patch, and one for the
tiny reverse patch, which is hopefully entirely non-contraversal :)
In my current tree I'm redoing the test suite additions to allow for
keeping track of the number of assignments / swaps / checks / etc.
performed on elements of a particular container, to allow for a more
"system dependant" performance check (although obviously raw time is
still the most important) which is made much easier by the iter_swap
patch (as I can overload swap without feeling guilty, whereas
overloading std::iter_swap is someone badly behaved),
Thank you,
Chris
2004-10-04 Christopher Jefferson <caj@cs.york.ac.uk>
* include/bits/stl_algo.h (reverse): fix random access
specialisation of reverse swapping middle element with
itself on odd-length inputs.
2004-10-04 Christopher Jefferson <caj@cs.york.ac.uk>
* include/bits/stl_algobase.h(iter_swap): delegate std::iter_swap
to swap when iterator's value_types are equal.