From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 671BF3858D37; Thu, 25 Jan 2024 09:44:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 671BF3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706175844; bh=V9hpT3WY3tFo6UpzsU/oG0pSGpUknHABlE1kZH1ckfs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V6qwQgF+5gO2KaEBeCkot+EVUQqN2Od1I5YpQYnRQHZZ0rDVw7JkqSTgM0Mz6eMrr Wv46fg5NE9fJjkGtu0WCdroXdY3FGZoY5EiUpofKJs4+A03ul+GGHvc5YX+VXwg8ex FgIjKisKJuQyKwMOW53dlCUebrRb4LaupME9+ork= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113522] std::swap cannot be called with explicit template argument std::array Date: Thu, 25 Jan 2024 09:44:03 +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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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=3D113522 --- Comment #6 from Jonathan Wakely --- I'd also like to ban it for std::make_pair, but that would break loads of v= ery silly code that does std::make_pair(a,b) (c.f. Bug 92300 comment 3).=