[patch] : Add move symantics to more of libstdc++

chris jefferson caj@cs.york.ac.uk
Mon May 16 17:48:00 GMT 2005


This patch makes remove, remove_if, rotate and the heap functions move 
aware. It also tidies up some swaps to iter_swap, and adds a test case 
or two and a couple of testcases fixes. Has been carefully designed so 
that it will have no effect on the performance of non move-aware types 
(in particular the built in types).

This patch does do a number of small things at the same time, if you'd 
like it splitting into patches which each only do one thing, I'll do that.

Only for the so_7 branch of libstdc++.

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-rvalref
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050516/0eda99a0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog-rvalref
Type: application/text
Size: 1900 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050516/0eda99a0/attachment.bin>


More information about the Libstdc++ mailing list