From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 879D63858D37; Tue, 23 May 2023 23:36:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 879D63858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684885001; bh=WTMacY+HiYP7se7xYX+6gJFqom03PyG04CmxT8tSxVE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fWHyEbN5S1LKesc/kfzMV4Z1DxdyRo2zH9Lgho1cuPEnG9GzqOL4gkPtsrsuXGSus Xcyji+JnuPO+s7Q1AY0iUB+bB1ujs9lhSBcjV8Um677W+R3BpXg+MV6XhZ9R4OxZZE E42ZtvVz2gB1vyYU+XNqskgCVUCJn1NfMnWSpVH4= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109947] std::expected monadic operations do not support move-only error types yet Date: Tue, 23 May 2023 23:36:41 +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.1.0 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=3D109947 --- Comment #2 from Jonathan Wakely --- To be clear, a move-only value type is OK. A move-only error type is not.=