From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 563F43858D3C; Thu, 10 Nov 2022 03:30:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 563F43858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668051045; bh=Ln0B0BM0WUgwD5/LjDd8DtGolxUn7XwrnN1PEzCHrWA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W+x+l3QPmiMV7NEY9tx8xor6DERcIt29DzcSLOXLTLX5F4PXVXqqaqbCWguRvNJQ5 hOsJdcVzF/ZHzmx3wwipnn3CyTgFsryy96ahaeXsOYVEYAbr41578i2yfjsqQDCiHb V5ciEQZtLQDqQj+NE3zdtZIYODqKk+8r1xOSyq1A= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107600] New __is_destructible built-in Date: Thu, 10 Nov 2022 03:30:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D107600 --- Comment #2 from Jonathan Wakely --- I committed r13-3870-g0cbb756fe9c8e1 to speed up the std::destructible conc= ept, so an intrinsic is not urgent. But it would probably be even better than the new implementation, and would also help other parts of the lib that use the trait rather than the concept, such as std::optional and std::variant.=