This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49107] [C++0x][4.7 Regression] incomplete type regression with std::pair


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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]