[Bug libstdc++/79114] [6/7 Regression] std::throw_with_nested("string literal") is rejected
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 15:26:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jan 17 15:26:06 2017
New Revision: 244531
URL: https://gcc.gnu.org/viewcvs?rev=244531&root=gcc&view=rev
Log:
PR79114 use decayed type in std::throw_with_nested assertion
PR libstdc++/79114
* libsupc++/nested_exception.h (throw_with_nested): Use decay instead
of remove_reference.
* testsuite/18_support/nested_exception/79114.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/18_support/nested_exception/79114.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/libsupc++/nested_exception.h
More information about the Gcc-bugs
mailing list