This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51452] has_nothrow_.*constructor bugs
- 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: Fri, 09 Dec 2011 18:26:57 +0000
- Subject: [Bug libstdc++/51452] has_nothrow_.*constructor bugs
- Auto-submitted: auto-generated
- References: <bug-51452-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51452
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2011-12-09
Resolution|DUPLICATE |
Ever Confirmed|0 |1
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-09 18:26:57 UTC ---
Agreed (though it should probably be suspended when there's an LWG issue)
My "corrected" testcase wasn't right, here's another attempt:
#include <type_traits>
struct X
{
X() noexcept;
~X() noexcept(false);
};
static_assert(std::is_nothrow_constructible<X>::value, "fails because of ~X");