This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Specialising when swap / iter_swap exists
Paolo Carlini wrote:
Paolo Carlini wrote:
For instance:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1377.htm
This one, I also find very interesting even if less rigorous:
http://www.cuj.com/documents/s=8246/cujcexp2102alexandr/alexandr.htm
Paolo.
Thanks, these are quite interesting. Some of this (and also
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1690.html ,
which appears to be the latest thing) is somewhat beyond me, but it also
looks like these kinds of things are being seriously considered, so for
now I think I shall simply leave this to be looked at by more
intellegent people, and wait for these things to filter down into the
language.
However, I shall consider to see if there might be some simple way of
implementing some small subset of this functionality, as I imagine it
may be a long time before this actually moves into the C++ language and
it may be possible to simply get a reasonable quantity of the benefits.
Chris