From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B20D3858D32; Sun, 14 Jan 2024 09:19:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B20D3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705223972; bh=8w6FM1gLm0VcNJblmn4J3t5wb0JorrYAWSDXzLND3kA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=odx34sizNDuYKjdZ0ThRuYxlwMZv3/QQlW103b6Qnp7fxfdc9LHvKmbHQIGkayvqL OpKColOekUILDwU8IIksjlWiyvFoY2uaayqiGInp+awCvQGotrjup42rp54wyEBW5Q Sd6HyIKdyzuLhXaxtz5uz/EPntj2AFdJ8is6MnA0= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113386] std::pair comparison operators should be transparent, but are not in libstdc++ Date: Sun, 14 Jan 2024 09:19:31 +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: pinskia at gcc dot gnu.org 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: 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 #2 from Andrew Pinski --- (In reply to Jan Schultke from comment #0) > Clang with -stdlib=3Dlibc++ compiles this, as does MSVC. Bug #90203 was > incorrectly closed. No PR 90203 was not closed incorrectly as that was what the C++ standard sa= id at the time (and even says still for C++20). C++ LWG defect report 3865 added this to the standard for C++23: https://cplusplus.github.io/LWG/lwg-defects.html#3865 GCC just does not implement that yet ...=