[Bug c++/71825] incorrectly rejects valid C++ code with a template class inside a namespace

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid |accepts-invalid, diagnostic --- Comment

[Bug c++/71825] incorrectly rejects valid C++ code with a template class inside a namespace

2016-07-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825 Martin Liška changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/71825] incorrectly rejects valid C++ code with a template class inside a namespace

2016-07-09 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825 --- Comment #1 from Zhendong Su --- Both the following are accepted: $ g++-trunk -c small1.cpp $ cat small1.cpp namespace N { template < class > struct A; } template < class T > struct N::A { A () {} }; $ $ g++-trunk -c small2.cpp $