From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 78B6B3858C30; Fri, 17 Nov 2023 18:42:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 78B6B3858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700246556; bh=AYcg3TcofMXp4M4rGmfh/1rpCmb3DtzYrE/ILwSVwno=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WCyXXqDuXuihPBPzkb7wTqTeuUzF0elITrq46XOjBQeaV2ZMneUAB59i+OZXIkAnE nw5nUpkT7UqSs+vegJW+cCsk5Fq1XYlbWxj4xmUhA+HREeNvE60IZKuqI33H0r4m8E aVBydWOLXgMbRlQ314o2hbstp3UR+JZCdgCXbWpw= From: "janezz55 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112590] structural constexpr class fails to instantiate Date: Fri, 17 Nov 2023 18:42:36 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janezz55 at gmail dot com 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=3D112590 --- Comment #2 from Janez Zemva --- Very nice, but if I write: int main() { static constexpr S<10> s; return 0; } there will still be a compile error.=