Re: [PATCH] PR libstdc++/87538 fix std::not_fn exception specifications

2018-10-08 Thread Jonathan Wakely
On 08/10/18 12:59 +0100, Jonathan Wakely wrote: 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. Tested x86_64-linux, committed to trun

[PATCH] PR libstdc++/87538 fix std::not_fn exception specifications

2018-10-08 Thread Jonathan Wakely
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. Tested x86_64-linux, committed to trunk. I'll backport this to gcc-7 and gcc-8 too. c