[Bug c++/97700] Bogus error when a class containing a function pointer is used as a non-type template parameter

2023-05-09 Thread mail at lboeger dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97700 --- Comment #5 from Lukas Böger --- One part of this seems to be resolved with version 13. Below, only the lambda use case fails to compile, whereas prior to version 13, both type aliases are rejected: ``` void fun() {} struct S { void (*f

[Bug c++/100079] [9/10 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-20 Thread mail at lboeger dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 --- Comment #6 from Lukas Böger --- Impressive responsiveness - big thank you for fixing this immediately!

[Bug c++/100079] [9/10/11 Regression] Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread mail at lboeger dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 --- Comment #3 from Lukas Böger --- I believe it should be valid. The revision which turns the snippet from rejection into an ICE makes sense, as this is about class-type instances as non-type template parameters.

[Bug c++/100079] New: Non-type template parameter, itself a nested template, rejected with internal error

2021-04-14 Thread mail at lboeger dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100079 Bug ID: 100079 Summary: Non-type template parameter, itself a nested template, rejected with internal error Product: gcc Version: 10.2.0 Status: UNCONFIRMED Se