https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87538
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Oct 8 12:07:22 2018 New Revision: 264921 URL: https://gcc.gnu.org/viewcvs?rev=264921&root=gcc&view=rev Log: PR libstdc++/87538 fix std::not_fn exception specifications PR libstdc++/87538 * include/std/functional (_Not_fn::operator()): Check value of __is_nothrow_invocable as well. * testsuite/20_util/function_objects/not_fn/87538.cc: New test. Added: trunk/libstdc++-v3/testsuite/20_util/function_objects/not_fn/87538.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/functional