This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51183] pair piecewise_construct_t constructor copies
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Dec 2011 16:27:07 +0000
- Subject: [Bug libstdc++/51183] pair piecewise_construct_t constructor copies
- Auto-submitted: auto-generated
- References: <bug-51183-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51183
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-05 16:27:07 UTC ---
I was assuming that since the public piecewise constructor takes them by value
the extra move would be elided ... that might not be true though.
I haven't written any tests for it and have a few other patches I need to chase
for approval, so if you have time to work on this please be my guest, thanks!