aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2011-12-06 20:03:25 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-12-06 20:03:25 +0000
commit8535715d0fb7c430787c257a9fc14cb34794e676 (patch)
treed7d90c64c9fb734a886b94cbda14b7158939c565 /gcc
parent0e642d0671db79acb4bccc4268e461fdcf5c1cdf (diff)
downloadgcc-8535715d0fb7c430787c257a9fc14cb34794e676.zip
gcc-8535715d0fb7c430787c257a9fc14cb34794e676.tar.gz
gcc-8535715d0fb7c430787c257a9fc14cb34794e676.tar.bz2
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
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions