re PR libstdc++/62154 (std::throw_with_nested should not require a polymorphic type)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 15 Aug 2014 15:22:44 +0000 (16:22 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 15 Aug 2014 15:22:44 +0000 (16:22 +0100)
commit2ce8cb99a64ed8512be9b3ae5e5bef2c18353baf
tree0d0f1af2fe64278459b483900acea39afc2c15b1
parent8e54f6d3bac9f2e2626e4a1496e01a243d91b9d0
re PR libstdc++/62154 (std::throw_with_nested should not require a polymorphic type)

PR libstdc++/62154
* libsupc++/nested_exception.h (throw_with_nested, rethrow_if_nested):
Rewrite to conform to C++11 requirements.
* testsuite/18_support/nested_exception/62154.cc: New.

From-SVN: r214025
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/nested_exception.h
libstdc++-v3/testsuite/18_support/nested_exception/62154.cc [new file with mode: 0644]