From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 853D1385840A; Tue, 26 Mar 2024 14:33:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 853D1385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711463625; bh=QalLc7c4tWUS/w/mW+tPXRNgd+99HZMn/zVuNP2fk0s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wTzZCK7hoA6G4qpVN7H7PFL/c/mOCs+7Ltg8MlVSKPYsRjXFs3cPxUfd2Yu3HYcG3 S5nW22erY87ZEglMf2bKD8oEoxVR+0p8nJTGXMufY2NzsUJzwscBgoXos2pm9Hnr5p nHa836hrSUDozccfG/M9KNtiSc/S/wLsLbgDdfF4= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114477] The user-defined constructor of filter_view::iterator is not fully compliant with the standard Date: Tue, 26 Mar 2024 14:33:44 +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: 14.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 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=3D114477 --- Comment #4 from Jonathan Wakely --- Changing them seems like a bad idea. Maybe we could keep the pointer constructors for internal use (possibly mak= ing them private and adding friend decls as needed) and *also* add the ones tak= ing references, so pedantic conformance (but never use those ourselves). But I think it would be safer to just do nothing, since I don't think this = has ever caused a real problem in real code.=