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: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Dec 2011 14:53:05 +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 #19 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-06 14:53:05 UTC ---
Nope, doesn't. I'm going to test and commit a version with the constructor
private. Thanks to both of you! By the way, it would be nice at some point to
actually analyze the assembly and the output of the passes and see which
difference by const-ref vs value makes.