From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EDE0438582B8; Wed, 21 Sep 2022 14:03:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDE0438582B8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663768984; bh=2a3vPHhzTRzI8OZFe7YuhpyGnK78mCmw85zsMJ0Kdfk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GnhXtpFePadAzdD97fEBeO06npiiuMjpZsKFS5eqq3iobt8VaIKxDsReCX2wbs7P4 nCFPvbOFnZCcGaHOxSIcXDJ3Dq8z5kc8rJUpVyTsh47RBaX6O9AYyk8T3RF2fRyL6d blrKmVEH+CzKtq9oaxQXBVU2IyMudTfDGhLfpgGE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/91456] std::function and std::is_invocable_r do not understand guaranteed elision Date: Wed, 21 Sep 2022 14:03:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91456 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5814816641389dd76153aae63e8ccb67a1a9a321 commit r13-2764-g5814816641389dd76153aae63e8ccb67a1a9a321 Author: Jonathan Wakely 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.=