https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111327

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:52f65d17c85fa513887a3bb31e3c3c329d9ace58

commit r14-3903-g52f65d17c85fa513887a3bb31e3c3c329d9ace58
Author: Patrick Palka <ppa...@redhat.com>
Date:   Tue Sep 12 11:26:50 2023 -0400

    libstdc++: Fix std::not_fn perfect forwarding [PR111327]

    The previous patch fixed perfect forwarding in std::bind_front.
    This patch fixes the same issue in std::not_fn.

            PR libstdc++/111327

    libstdc++-v3/ChangeLog:

            * include/std/functional (_GLIBCXX_NOT_FN_CALL_OP): Also define
            a deleted fallback operator() overload.  Constrain both the
            enabled and deleted overloads accordingly.
            * testsuite/20_util/function_objects/not_fn/111327.cc: New test.

Reply via email to