[C++ PATCH] Fix all rvalue references PRs
Paolo Carlini
pcarlini@suse.de
Mon Nov 5 15:14:00 GMT 2007
Doug Gregor wrote:
> Paolo, could you try this patch against some of the library work
> you've been doing? I know some of these test cases are distilled from
> examples from the C++0x library.
>
Many thanks Doug. Indeed, in C++0x mode, I added emplace insert and
push_back to std::vector according to N2461 + some internal reworks to
use moves instead of copies when possible (bring over from v7-branch
with adaptations). Everything works with your patch, in particular I
will be able to enable 3 xfailed tests for "move" features already
existing in 23_containers/vector.
Thanks a lot again, I envisage a quick approval of the patch, certainly
represents a definite improvement.
Paolo.
More information about the Gcc-patches
mailing list