From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1499C3858017; Thu, 9 Feb 2023 17:56:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1499C3858017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675965412; bh=1erbePHaVxizuZpKsqSrXC2fCcRWJMyUzmHqnRvtsoQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Erga8S9z2U+LsSPExMxsvC8JJDlNQIAlWrtc3V6RUp2YAJcBPE/Zv50jNI3fb+X2M nnmGchGqfKeY+yqTNB0ubSu1BvwyiDFh4nRL6L0e9q0oPjA2ap8R+ejaKR1JSqK7Rr rjMrZyRwGq77q+M7NJYy8L2WbFQqMpUYtbQRQWvg= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108744] error message when trying to use structured bindings in static member declaration could be cleaner Date: Thu, 09 Feb 2023 17:56:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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=3D108744 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Looks like it doesn't even need to be static. Are structured bindings generally banned in data members?=