From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A8A513858431; Fri, 17 Mar 2023 04:36:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8A513858431 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679027818; bh=7ZwPBxV1QcAHXqdrCY05ptKeR2ffBLkdhRzAb57MLcM=; h=From:To:Subject:Date:From; b=BH/zA0+t3vHHws+TfELl03WuWVzyEHkbCieGyWIEmnlhZiZ14VTS4BUswbgXLNLqP rEZl+0siY/j9yxKYZqzsJugjkrgddcmNy5uuA7ws+2+4k+7oszKlovEsisxlc6ppHZ 00bUYwPTKiodJeZZxyGkYmavpX55TSOl5+mY4z08= From: "steve_green at qq dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109169] New: Feature request: Allow omitted template prompts Date: Fri, 17 Mar 2023 04:36:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steve_green at qq 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 109169 Summary: Feature request: Allow omitted template prompts Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: steve_green at qq dot com Target Milestone: --- I have a third party library that has this write up ```c++ template template struct type_info_t{ //... template static constexpr bool can_convert_to=3DXXX; //... } template constexpr type_info_ttype_info{}; ``` Since msvc supports such writes, the form of `type_info.can_convert_to`, `compare.able`, `invoke.nothrow` are written throughout the project. Although this is not the standard way of writing, I would expect gcc to sup= port such code.=