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: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 5 Jun 2011 07:32: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 #17 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-05 07:16:43 UTC ---
Well, auto_ptr is already deprecated in the FDIS. Personally, I would have no
objections to breaking auto_ptr in c++0x mode if this is the only way to save
the noexcept machinery. We really want it for performance reasons, otherwise
when we start using move_if_noexcept in the containers (for correctness vs
exceptions) the containers always fall back to copying instead of moving.
Anyway, I understand now this is purely a Standard issue, there is nothing
special to our implementation, I also saw Jason' message arriving on the
reflector. There is hope. By the way, I would be still curious to see what an
implementation using intrinsics does in such cases, probably an ICE?!?