This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Specialising when swap / iter_swap exists
- From: Paolo Carlini <pcarlini at suse dot de>
- To: chris <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 07 Oct 2004 12:27:18 +0200
- Subject: Re: Specialising when swap / iter_swap exists
- References: <4165165A.6080509@cs.york.ac.uk>
chris wrote:
I suspect that someone has already thought about this kind of thing,
but have been unable to find any references to it.
A quick reply (I'm in the middle of completely different issues): your
suspects are definitely founded, the keyword is "move semantics", just
google a bit and you will find **lots** of stuff. For instance:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1377.htm
Paolo.