[Bug c++/116943] wrong(?) indication of specialization after (implicit) instantiation

2024-10-04 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116943 mauro russo changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/116943] wrong(?) indication of specialization after (implicit) instantiation

2024-10-03 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116943 --- Comment #3 from mauro russo --- may I suppose that the following text from [temp.inst]: The implicit instantiation of a class template specialization causes - the implicit instantiation of the declarations, but not of the definitions, of th

[Bug c++/116943] wrong(?) indication of specialization after (implicit) instantiation

2024-10-03 Thread ing.russomauro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116943 --- Comment #2 from mauro russo --- thank you Andrew Pinski, do you have also any explanation from the standard, why it should be rejected ? That is, where the instantiation comes on ? Or why this does not implicitly contradicts the option to

[Bug c++/116943] wrong(?) indication of specialization after (implicit) instantiation

2024-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116943 --- Comment #1 from Andrew Pinski --- clang, MSVC and EDG all reject the code for the same reason.