This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/64651] std::rethrow_exception not found by ADL
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Nov 2015 10:08:55 +0000
- Subject: [Bug libstdc++/64651] std::rethrow_exception not found by ADL
- Auto-submitted: auto-generated
- References: <bug-64651-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64651
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Nov 11 10:08:23 2015
New Revision: 230147
URL: https://gcc.gnu.org/viewcvs?rev=230147&root=gcc&view=rev
Log:
PR libstdc++/64651
* libsupc++/exception_ptr.h (rethrow_exception): Add using-declaration
to __exception_ptr namespace.
* testsuite/18_support/exception_ptr/rethrow_exception.cc: Test ADL.
Remove unnecessary test variables.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/libsupc++/exception_ptr.h
trunk/libstdc++-v3/testsuite/18_support/exception_ptr/rethrow_exception.cc