re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/51438 * libsupc++/nested_exception.h (nested_exception::~nested_exception): Declare noexcept. * libsupc++/nested_exception.cc: Adjust. * testsuite/18_support/nested_exception/51438.cc: New. * testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust. * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise. * src/shared_ptr.cc: Use noexcept where appropriate. * include/std/system_error: Likewise. * include/std/functional: Likewise. * include/bits/shared_ptr_base.h: Likewise. * src/stdexcept.cc: Use _GLIBCXX_USE_NOEXCEPT where appropriate. * include/std/stdexcept: Likewise. * libsupc++/bad_cast.cc: Likewise. * libsupc++/bad_typeid.cc: Likewise. * libsupc++/eh_exception.cc: Likewise. * libsupc++/typeinfo: Likewise. * libsupc++/exception: Likewise. * libsupc++/eh_ptr.cc: Likewise. * libsupc++/bad_alloc.cc: Likewise. * libsupc++/exception_ptr.h: Likewise. * include/std/chrono: Use noexcept where appropriate. * src/chrono.cc: Likewise. From-SVN: r182064
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
bad_alloc | Loading commit data... | |
bad_cast | Loading commit data... | |
bad_exception | Loading commit data... | |
bad_typeid | Loading commit data... | |
exception | Loading commit data... | |
exception_ptr | Loading commit data... | |
headers | Loading commit data... | |
initializer_list | Loading commit data... | |
nested_exception | Loading commit data... | |
numeric_limits | Loading commit data... | |
type_info | Loading commit data... | |
uncaught_exception | Loading commit data... | |
50594.cc | Loading commit data... | |
new_delete_placement.cc | Loading commit data... | |
pthread_guard.cc | Loading commit data... |