r243363 - in /branches/gcc-6-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Dec 7 15:56:00 GMT 2016
Author: redi
Date: Wed Dec 7 15:56:08 2016
New Revision: 243363
URL: https://gcc.gnu.org/viewcvs?rev=243363&root=gcc&view=rev
Log:
Simplify std::rethrow_if_nested definition
Backport from mainline
2016-10-11 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/intro.xml: Document LWG 2484 status.
* libsupc++/nested_exception.h (_Throw_with_nested_impl)
(_Throw_with_nested_helper): Remove.
(__throw_with_nested_impl): New overloaded functions to implement
throw_with_nested logic.
(throw_with_nested): Call __throw_with_nested_impl.
(_Rethrow_if_nested_impl): Remove
(__rethrow_if_nested_impl): New overloaded functions to implement
rethrow_if_nested logic.
(rethrow_if_nested): Call __rethrow_if_nested_impl.
* testsuite/18_support/nested_exception/rethrow_if_nested.cc: Test
problem cases from LWG 2484.
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/doc/xml/manual/intro.xml
branches/gcc-6-branch/libstdc++-v3/libsupc++/nested_exception.h
branches/gcc-6-branch/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc
More information about the Libstdc++-cvs
mailing list