From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3233E3858C54; Sat, 18 Mar 2023 02:21:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3233E3858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679106064; bh=9VamZDQLzM5k7qnGqW8RuCzA1/LIl9L5veB5vGfOO0k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YnBrbP85TbE7DO5zXrmGwVws6K2KNKkxolt4mk1TsG+buQ9h/YX4O7pVVWGa8Tdbp eQGEVD0dAtAlFteZzFET0i6GiJoubhmiN6c6Z7eB5HZO7xZuIJqWoZ4LvgnHklUnHg iJVZXiCcD9Szj2EwRSn/e3l6gIkRqfhuayoXJvMs= From: "steve_green at qq dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109169] Feature request: Allow omitted template prompts Date: Sat, 18 Mar 2023 02:21:04 +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: steve_green at qq dot com 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 #14 from steve02081504 --- (In reply to Andrew Pinski from comment #13) > See http://womble.decadent.org.uk/c++/template-faq.html#disambiguation al= so > to better understand the reason why GCC implements it this way and why it= is > hard to implement this "extension" in all cases. But I guess type_info.some_class_name a; is not allowed, right? Only in the case of decltype(type_info)::name do we need to consider whe= ther this is a typename or a template, and in the case of type_info.name this should always be a template?=