This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/52562] [C++11] Most type_info functions not noexcept
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 14:06:51 +0000
- Subject: [Bug libstdc++/52562] [C++11] Most type_info functions not noexcept
- Auto-submitted: auto-generated
- References: <bug-52562-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52562
--- Comment #5 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2012-03-12 14:06:51 UTC ---
(In reply to comment #3)
> Do I understand correctly that in N3291 the destructor lost the explicit
> noexcept simply because of core/1123?
I don't know for the reason in the stdlib++ change, but the library removed all
explicit throw()/noexcept() specifications on destructors replacing it by the
single general rule of [res.on.exception.handling] p4:
"Every destructor in the C++ standard library shall behave as if it had a
non-throwing exception specification."
which was introduced during noexcept-ification.