[Bug libstdc++/66998] not_fn invocation is not SFINAE friendly
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 15:11:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66998
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Sep 3 15:10:52 2015
New Revision: 227455
URL: https://gcc.gnu.org/viewcvs?rev=227455&root=gcc&view=rev
Log:
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.
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/experimental/functional
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/functional/not_fn.cc
More information about the Gcc-bugs
mailing list