[Bug libstdc++/52562] [C++11] Most type_info functions not noexcept
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 12 14:07:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list