From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E5643857B94; Fri, 2 Feb 2024 14:43:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E5643857B94 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706884982; bh=c0+HZqtHMhPTqLqKGHFCgrbDr5L9vW6OjnveLflLA7M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tR/k8Se/gGwZOfuvzpu923oeiHteeQtYpPXxjgU0cvIYdDp/BCbtB7tCuPiFNPKxX CzqLY0idJo/dqj8StXyT3RwcR7kHiKLB25J6KTVNHd8AP8epfJo+3DLvg2j2dT6Ly6 2KrcALZVxPPeiQekVSm8UibHg3f0VK0Z26tU4z4s= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113335] [C++23] Implement LWG3617 function/packaged_task deduction guides and deducing this Date: Fri, 02 Feb 2024 14:42:59 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D113335 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6f75149488b74ae696788b8761d6fcfa754a0af7 commit r14-8752-g6f75149488b74ae696788b8761d6fcfa754a0af7 Author: Jonathan Wakely Date: Fri Feb 2 10:03:12 2024 +0000 libstdc++: Make std::function deduction guide support explicit object functions [PR113335] This makes the deduction guides for std::function and std::packaged_task work for explicit object member functions, i.e. "deducing this", as per LWG 3617. libstdc++-v3/ChangeLog: PR libstdc++/113335 * include/bits/std_function.h (__function_guide_helper): Add partial specialization for explicit object member functions, as per LWG 3617. * testsuite/20_util/function/cons/deduction_c++23.cc: Check explicit object member functions. * testsuite/30_threads/packaged_task/cons/deduction_c++23.cc: Likewise.=