[Bug libstdc++/70564] Problem with std::experimental::not_fn
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 5 12:02:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70564
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Oct 5 12:01:36 2016
New Revision: 240778
URL: https://gcc.gnu.org/viewcvs?rev=240778&root=gcc&view=rev
Log:
PR 70564 disambiguate constructors for not_fn call wrapper
PR libstdc++/70564
* include/experimental/functional (_Not_fn): Remove.
(not_fn): Use std::_Not_fn.
* include/std/functional (_Not_fn): Add second parameter to
disambiguate copying from initialization by not_fn. Define for C++14.
(not_fn): Add second argument to initialization.
* testsuite/20_util/not_fn/1.cc: Copy call wrapper using
direct-initialization.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/functional
trunk/libstdc++-v3/include/std/functional
trunk/libstdc++-v3/testsuite/20_util/not_fn/1.cc
trunk/libstdc++-v3/testsuite/experimental/functional/not_fn.cc
More information about the Gcc-bugs
mailing list