From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61B403858C41; Mon, 15 Jan 2024 14:46:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61B403858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705329985; bh=371LSL1D1yI15RfNRRa2LOfooaEhfKoTQIfjf3G3tq4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NfRbtF0wdBngSKFgxfmDr44hmThzpYjxHnZkgwL5ZU9g8qub7nCiHMUU0xBPYkQSm /8eti9WCwTeEEC88ugjASUSNt8jwzWm6hbmDOapyiIa20bQ4e1t2WkHHNlyZ2g8Fg/ KYTFd0BfNFBfqOB6v+vollVD7+DIzvSeWM8yqsuc= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113386] [C++23] std::pair comparison operators should be transparent, but are not in libstdc++ Date: Mon, 15 Jan 2024 14:46:24 +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: 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=3D113386 --- Comment #9 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #8) > We will do it as a DR against all previous standards, as we do for most D= Rs. That should have said "as we do for most issues", sorry. All the major impls treat most library issues as DRs, applying the fixes to all affected standa= rds modes. But as this particular issue changes operator<=3D> and is motivated by rang= es, I'm tempted to say it's only a DR against C++20, nothing older. If people w= ant it for older standards, they can contribute the patch to change the pre-C++= 20 operator!=3D, operator< etc. overloads.=