[Bug libstdc++/91456] std::function and std::is_invocable_r do not understand guaranteed elision
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 21 14:03:03 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91456
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:5814816641389dd76153aae63e8ccb67a1a9a321
commit r13-2764-g5814816641389dd76153aae63e8ccb67a1a9a321
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Sep 21 14:59:18 2022 +0100
libstdc++: Fix accidental duplicate test [PR91456]
It looks like I committed the testcase for std::function twice, instead
of one for std::function and one for std::is_invocable_r. This replaces
the is_invocable_r one with the example from the PR.
libstdc++-v3/ChangeLog:
PR libstdc++/91456
* testsuite/20_util/function/91456.cc: Add comment with PR
number.
* testsuite/20_util/is_invocable/91456.cc: Likewise. Replace
std::function checks with std::is_invocable_r checks.
More information about the Gcc-bugs
mailing list