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 libstdc++/52562] [C++11] Most type_info functions not noexcept


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.


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