Make std::experimental::not_fn SFINAE-friendly.
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Sep 2015 14:36:03 +0000 (15:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 3 Sep 2015 14:36:03 +0000 (15:36 +0100)
commiteb8bf686b7877f9000aefd599b4ad035475b7e99
tree8329be86b1fdc2543a47bfd3f061bebbd1f8dacb
parent500dc9a6c335fba9be0c2aa9c6c489b7e09c8400
Make std::experimental::not_fn SFINAE-friendly.

PR libstdc++/66998
* include/experimental/functional (_Not_fn): Add exception
specifications and non-deduced return types.
(not_fn): Add exception specification and wrap pointer-to-member.
* testsuite/experimental/functional/not_fn.cc: Test in SFINAE context
and test pointer-to-member.

From-SVN: r227448
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/functional
libstdc++-v3/testsuite/experimental/functional/not_fn.cc