[Bug libstdc++/70564] Problem with std::experimental::not_fn
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 5 13:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70564
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Oct 5 13:51:03 2016
New Revision: 240790
URL: https://gcc.gnu.org/viewcvs?rev=240790&root=gcc&view=rev
Log:
PR 70564 disambiguate constructor for not_fn call wrapper
PR libstdc++/70564
* include/experimental/functional (_Not_fn): Add second parameter to
disambiguate copying from initialization by not_fn.
(not_fn): Add second argument to initialization.
* testsuite/experimental/functional/not_fn.cc: Copy call wrapper using
direct-initialization. Test abstract class.
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