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
This commit is contained in:
Jonathan Wakely 2014-08-15 16:22:44 +01:00 committed by Jonathan Wakely
parent 8e54f6d3ba
commit 2ce8cb99a6
3 changed files with 131 additions and 57 deletions