PR 70564 disambiguate constructors for not_fn call wrapper
authorJonathan Wakely <jwakely@redhat.com>
Wed, 5 Oct 2016 12:01:36 +0000 (13:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 5 Oct 2016 12:01:36 +0000 (13:01 +0100)
commit78ec9c15be7e34eb2b8c1faaea3e15b7740322df
tree706df9dcc4c3b957089fc9b53c6684d8cb02afef
parent496326bcc14616ae90da47db7a7f203d79f02923
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.

From-SVN: r240778
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/functional
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/not_fn/1.cc
libstdc++-v3/testsuite/experimental/functional/not_fn.cc