From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5FA513858404; Wed, 9 Aug 2023 12:42:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FA513858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691584951; bh=G73z8iUblLvbkhhy1Wmx+Rbrb/Qrczn0dCCxZBYDMc4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fURhyot/O051T9S4yExuOisw85d3QBc4uEHJPzXyqCvXcaACaiAJnzw6atiSvfWTY p7iAArpvPKFI7MNXidKG/E2aX8EVKIvprlfsKBY2lMze1MFpOyUUPSuZ36AttQS+db JvtH2tq79IH27wAYDI8n1xK4PSWqW790OfNKgFo8= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/110952] Allocator::pointer is required to be implicitly convertible from and into a native pointer Date: Wed, 09 Aug 2023 12:42:30 +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: 11.2.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: cf_reconfirmed_on bug_status see_also everconfirmed 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=3D110952 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-08-09 Status|UNCONFIRMED |NEW See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D57272 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- (In reply to Kamil Kaznowski from comment #0) > It is NOT a duplicate of Bug 57272 - it's not about the internal > representation of the nodes, just handling and requirements imposed on the > allocator pointer. It is though, because if we actually used the allocator's pointer then this wouldn't be an issue in the first place. The changes need to be conditional on C++11 or later, because pointer_traits and __to_address aren't available in C++98.=