From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 30C8F3858C35; Wed, 7 Feb 2024 20:11:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30C8F3858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707336690; bh=uyfVAMlhJ97jaDlt+oaRAgjZXyrE2r/h+c6K1jKCGMg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iX/0R1F2ufUlxU2rSzAPPnfGKrcuAP3LBkFEQVyHwxPu9ATSU6djhHjX5UfMuWdFR cjLeqKB7nolPH42/Fcwx1bUFcn4iQyTZoee3rUQ7K4M6bpBYRCZ8TN9z0HGmm7fL8P Gh/VYKmpsNOVTm5cumBmwVU/Yn9DUN7DNIs2QObo= From: "pkasting at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113074] std::to_address should be SFINAE safe Date: Wed, 07 Feb 2024 20:11:29 +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: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pkasting at google dot com X-Bugzilla-Status: UNCONFIRMED 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: cc 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=3D113074 Peter Kasting changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pkasting at google dot com --- Comment #8 from Peter Kasting --- As a Chromium C++ OWNER -- agree that libstdc++ is standards-compliant as-i= s. We'll fix our code. I do think libc++'s behavior is more usable and an LWG issue would be nice. There's currently no simple and blessed route for consumers to convert raw-or-fancy-pointer input types to raw pointers.=