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: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 15:12:47 +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 #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-03-12 15:12:47 UTC ---
Author: paolo
Date: Mon Mar 12 15:12:40 2012
New Revision: 185235
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185235
Log:
2012-03-12 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/52562
* libsupc++/typeinfo (type_info::name, before, operator==,
operator!=): Mark noexcept in C++11 mode.
* libsupc++/tinfo.cc (type_info::operator==): Adjust.
* libsupc++/tinfo2.cc (type_info::before): Likewise.
* testsuite/18_support/type_info/52562.cc: New.
Added:
trunk/libstdc++-v3/testsuite/18_support/type_info/52562.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/libsupc++/tinfo.cc
trunk/libstdc++-v3/libsupc++/tinfo2.cc
trunk/libstdc++-v3/libsupc++/typeinfo