PR libstdc++/87538 fix std::not_fn exception specifications
authorJonathan Wakely <jwakely@redhat.com>
Mon, 8 Oct 2018 12:07:22 +0000 (13:07 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 8 Oct 2018 12:07:22 +0000 (13:07 +0100)
commit606f6be67bfc5b533d72d83063e184b6df0e125f
tree93cf8f92e0170a353955234719837eef43a25dbc
parent0054ef84b0435bb46844a56eb9587454c4f53c87
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.

From-SVN: r264921
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function_objects/not_fn/87538.cc [new file with mode: 0644]