aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-09-12 11:26:50 -0400
committerPatrick Palka <ppalka@redhat.com>2023-09-12 11:26:50 -0400
commit52f65d17c85fa513887a3bb31e3c3c329d9ace58 (patch)
tree40509b7f285d706bc2a643f20287871235e93dd9 /gcc
parent4289f6ceefe74ea46e792692448c06197ac20c86 (diff)
downloadgcc-52f65d17c85fa513887a3bb31e3c3c329d9ace58.zip
gcc-52f65d17c85fa513887a3bb31e3c3c329d9ace58.tar.gz
gcc-52f65d17c85fa513887a3bb31e3c3c329d9ace58.tar.bz2
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.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions