[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #9 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a4954130d43d478a23ec8b65f5d861167935d77a commit r15-5764-ga4954130d43d478a23ec8b65f5d861167935d77a Author: Marek Polacek Date: Th

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-11-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #8 from Marek Polacek --- And I forgot to add __cpp_pack_indexing. To be fixed soon.

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-11-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c43527216622a119feb0d2ca4c0d8dd37463fe0a commit r15-5758-gc43527216622a119feb0d2ca4c0d8dd37463fe0a Author: Marek Polacek Date: We

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #5 from Marek Polacek --- I'm not sure if it's my bug or one of the decltype-in-lambda PRs, but x5 should be deduced to int but we deduce it to int& :(. x6 works fine. ``` void fn1 () { int i = 0; [&i](auto... pack) { declt

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-10-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-09-04 Thread corentinjabot at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 corentinjabot at gmail dot com changed: What|Removed |Added CC||corentinjabot at gmail d

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #2 from Jakub Jelinek --- Ignore me, functions can't return arrays.

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-05-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- 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

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-02-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-02-07 Status|UNCONFIRM