r240983 - in /trunk/libstdc++-v3: ChangeLog doc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue Oct 11 10:33:00 GMT 2016
Author: redi
Date: Tue Oct 11 10:33:36 2016
New Revision: 240983
URL: https://gcc.gnu.org/viewcvs?rev=240983&root=gcc&view=rev
Log:
Simplify std::rethrow_if_nested definition
* 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:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/xml/manual/intro.xml
trunk/libstdc++-v3/libsupc++/nested_exception.h
trunk/libstdc++-v3/testsuite/18_support/nested_exception/rethrow_if_nested.cc
More information about the Libstdc++-cvs
mailing list