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

Jonathan Wakely jwakely@redhat.com
Mon Oct 8 12:18:00 GMT 2018


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 trunk.
>
>I'll backport this to gcc-7 and gcc-8 too.

Here's a testcase to verify the regression for
std::experimental::not_fn is fixed.

Tested x86_64-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1846 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20181008/bd7b84d6/attachment.bin>


More information about the Libstdc++ mailing list