This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49107] [C++0x][4.7 Regression] incomplete type regression with std::pair
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 4 Jun 2011 23:36:18 +0000
- Subject: [Bug c++/49107] [C++0x][4.7 Regression] incomplete type regression with std::pair
- Auto-submitted: auto-generated
- References: <bug-49107-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49107
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-04 23:35:38 UTC ---
Created attachment 24433
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24433
Patch to generalize the copy hack in the compiler
Here's the patch I was working with, if you're interested. I don't think we
want to go this way, since it breaks auto_ptr, but perhaps we don't need the
auto_ptr hack in C++0x since we have rvalue references...