insert move iterator patch
François Dumont
frs.dumont@gmail.com
Thu Apr 25 23:37:00 GMT 2013
Hi
Here is a patch to use move semantic when inserting a move_iterator
range into the unordered containers.
2013-04-25 François Dumont <fdumont@gcc.gnu.org>
* include/bits/hashtable_policy.h
(_Insert_base<>::insert<_It>(_It, _It)): Enable move semantic.
* testsuite/23_containers/unordered_set/insert/move_range.cc: New.
Tested under Linux x86_64.
Ok to commit ? Maybe in 4.8 branch too ?
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insert_move_iterator.patch
Type: text/x-patch
Size: 2206 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130425/258b4d28/attachment.bin>
More information about the Gcc-patches
mailing list