[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Bug 100091 depends on bug 99478, which changed state. Bug 99478 Summary: [10 Regression] ICE when decltype lambda in template list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99478 What|Removed |Added

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 --- Comment #4 from Pilar Latiesa --- > Of course such use of a lambda is quite pointless Not as pointless as it might appear. This defaulted template parameter enables a form of stateful metaprogramming: #include template class T {};

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 --- Comment #3 from Richard Biener --- Of course such use of a lambda is quite pointless which in turn makes the P1 classification a bit odd (but given it's a new regression it's technically correct). We'll be happy to demote this to P2

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/100091] [11 Regression] decltype([]{}) rejected as a default template parameter

2021-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100091 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3