c++/3478: [2003-01-11] Rejects code when using enum from template class
bangerth@dealii.org
bangerth@dealii.org
Mon Jan 13 16:16:00 GMT 2003
Synopsis: [2003-01-11] Rejects code when using enum from template class
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Mon Jan 13 08:05:31 2003
State-Changed-Why:
Fixed with new parser. Volker's small testcase as well as
the original one were wrong, however, as they need to
write
enum typename A<T>::E
(note the typename). Without one now gets an error, with
it compiles cleanly.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3478
More information about the Gcc-bugs
mailing list