]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR 70564 disambiguate constructor for not_fn call wrapper
authorJonathan Wakely <jwakely@redhat.com>
Wed, 5 Oct 2016 13:51:03 +0000 (14:51 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 5 Oct 2016 13:51:03 +0000 (14:51 +0100)
commitc0a6a24656034850a5b216f3dd35108acee32485
tree28f16802720d11d2c6584c6f7bb83aad0e6002ee
parent09b5f8a00e96feb00994492f4a4417c9fb9b7370
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.

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