From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AED033858C50; Sat, 18 Mar 2023 01:40:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AED033858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679103635; bh=viUXyIOqGfbejwxAzT5mFS2WmAObTu247cvkj+WMTl8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KHYQEKvrdbfRRlLLilxY4TfYkDb7BHPWkM3MohnhnmsfzPEqjIfQ2/sHp0Rm7Irro gQjnhsvRdTgEXpD7a1YK1U89g8jXznQjuqF8H/qmefkUOqo4JLrxa+TMJJPxvIhinh 2NzHRk3gxTH8nNag82KmYkJwyUAJa9pb0peymuUE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109169] Feature request: Allow omitted template prompts Date: Sat, 18 Mar 2023 01:40:35 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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=3D109169 --- Comment #12 from Andrew Pinski --- Right and I am saying it is hard to support in a parser. That is exactly why the language requires the template keyword here is to distinguish and help out the parser. Basically I am saying the whole point of template here is to help the parser out to figure out what it should be next otherwise it cannot figure out. How msvc implements without it, I don't know and really don't care.=