From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 354DA3858404; Fri, 9 Feb 2024 08:02:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 354DA3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707465750; bh=29Jg7gD1S2u1TtlCOSJiGMshwFcMqomCeER5L4MNjBk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gEWUdrx98zncS1maRVjKunHFZ03mJoSIL9YVQuRRTuVHr949lPK1gP00nsQF74VVX XGQSt4rjy5Ko+XFSwn8gMcaeHhVOQH6yorGN/zippyvfaMyY5TKTjxUrQ/H7+aQNLz YwciRue8UfJU/gqDgB2wEE2Nf9uh+OBygORogBeg= From: "ostash at ostash dot kiev.ua" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113841] Can't swap two std::hash Date: Fri, 09 Feb 2024 08:02:25 +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: 12.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ostash at ostash dot kiev.ua 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=3D113841 --- Comment #3 from Viktor Ostashevskyi --- Additional information: everything works fine both for GCC12 and Clang if s= wap call is fully qualified, i.e.: std::swap(h1, h2);=