public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/113798] New: [C++26] P2662R3 - Pack indexing
@ 2024-02-07  9:45 jakub at gcc dot gnu.org
  2024-02-07 13:48 ` [Bug c++/113798] " mpolacek at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-02-07  9:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798

            Bug ID: 113798
           Summary: [C++26] P2662R3 - Pack indexing
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

See <https://wg21.link/P2662R3>.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/113798] [C++26] P2662R3 - Pack indexing
  2024-02-07  9:45 [Bug c++/113798] New: [C++26] P2662R3 - Pack indexing jakub at gcc dot gnu.org
@ 2024-02-07 13:48 ` mpolacek at gcc dot gnu.org
  2024-05-09 13:20 ` jakub at gcc dot gnu.org
  2024-05-09 19:06 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-02-07 13:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-02-07
             Status|UNCONFIRMED                 |NEW
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/113798] [C++26] P2662R3 - Pack indexing
  2024-02-07  9:45 [Bug c++/113798] New: [C++26] P2662R3 - Pack indexing jakub at gcc dot gnu.org
  2024-02-07 13:48 ` [Bug c++/113798] " mpolacek at gcc dot gnu.org
@ 2024-05-09 13:20 ` jakub at gcc dot gnu.org
  2024-05-09 19:06 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-05-09 13:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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
<template ...T>
void foo (T...(int)[10])
{
}
invalid as well?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/113798] [C++26] P2662R3 - Pack indexing
  2024-02-07  9:45 [Bug c++/113798] New: [C++26] P2662R3 - Pack indexing jakub at gcc dot gnu.org
  2024-02-07 13:48 ` [Bug c++/113798] " mpolacek at gcc dot gnu.org
  2024-05-09 13:20 ` jakub at gcc dot gnu.org
@ 2024-05-09 19:06 ` jakub at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-05-09 19:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ignore me, functions can't return arrays.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-09 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07  9:45 [Bug c++/113798] New: [C++26] P2662R3 - Pack indexing jakub at gcc dot gnu.org
2024-02-07 13:48 ` [Bug c++/113798] " mpolacek at gcc dot gnu.org
2024-05-09 13:20 ` jakub at gcc dot gnu.org
2024-05-09 19:06 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).