[Bug c++/111608] Cannot declare partial specialization after full specialization

2023-09-28 Thread raplonu.jb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111608 --- Comment #4 from Julien Bernard --- (In reply to Jonathan Wakely from comment #3) I wasn't sure how to describe this issue, so my last sentence was probably incorrect. > I suspect this is covered by [temp.point] p7: > > "If two different

[Bug c++/111608] Cannot declare partial specialization after full specialization

2023-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111608 --- Comment #3 from Jonathan Wakely --- (In reply to Julien Bernard from comment #0) > which seems incorrect since their have different levels of specialization. But they're not the same thing. The first one is a specialization of the member

[Bug c++/111608] Cannot declare partial specialization after full specialization

2023-09-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111608 --- Comment #2 from Jonathan Wakely --- EDG rejects this too: "spec.cc", line 13: error: this partial specialization would have been used to instantiate class "X" struct X { ^ 1 error detected in the compilation of

[Bug c++/111608] Cannot declare partial specialization after full specialization

2023-09-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111608 Richard Biener changed: What|Removed |Added Known to fail||13.2.0, 14.0, 7.5.0