From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 65C5D3858C3A; Thu, 9 May 2024 13:20:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65C5D3858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715260810; bh=FYYFMz9O68nFaWQKSgsCqRZ4GH/dMWnZ3XbEp/Ym/Lo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rh2ruInWTeuenM85U6tY9Py5aeG+9q/CtYh/clrTEvgHI41hZHDBeqXc8vCLh1rt+ jEbrT159bQ66u/4ijMS+k4PtUhvaQLdvi9BnkAgI/vjwOIuysmRsb70t441Zr9QLj0 o4Bwlns629goF0y/jKigsx3JpfOanPv1JjPvpQY0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113798] [C++26] P2662R3 - Pack indexing Date: Thu, 09 May 2024 13:20:09 +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: jakub 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: 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=3D113798 --- Comment #1 from Jakub Jelinek --- Note, I wonder if the paper didn't go too far with the noptr-abstract-pack-declarator [ constant-expression[opt] ] attribute-specifier-seq[opt] production removal. It removes the unwanted T...[4] case which ought to be parsed as pack indexing, sure, but doesn't it also unnecessarily make