From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5C79D3861877; Mon, 19 Feb 2024 10:13:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C79D3861877 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708337600; bh=L6dKCEOddCyMAMIOvABHh53DI6YgbamT36RXtqWbhYw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FKeahFrAAqKTqNZDKM5fkl4VtJcVjvzcBeVpYbj7tkNcALIUIRhIcWtMteprjOXKX rWN5hOihJ2xEVGc9RuPwElBkrKqX/VhIQCog2SjXwlDX/vVKL6H3129JQlLggklfvD DiB14fHK7f9ppPulXT70ayXOlPJjJavlz0hPQ/a8= From: "de34 at live dot cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113007] `std::variant` converting constructor and `operator=` compile while the C++ Standard says they must not Date: Mon, 19 Feb 2024 10:13:18 +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: de34 at live dot cn X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: cc 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=3D113007 Jiang An changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #8 from Jiang An --- (In reply to Pavel Novikov from comment #7) > Now it's time to file a bug in MSVC's standard library. This was by design. MSVC STL intendedly only enabled changes in P0608R3 sin= ce C++20 (https://github.com/microsoft/STL/pull/1629#issuecomment-778895630). But given the author of P0608R3 applied the changes to libc++ in C++17 mode= , I think it makes more sense to treat it as a DR. I've opened this issue: https://github.com/microsoft/STL/issues/4412=