This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/70564] Problem with std::experimental::not_fn


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]