c++/3063: Explicit specification of a template-argument gives syntax error inside a template function.
pme@gcc.gnu.org
pme@gcc.gnu.org
Thu Jun 7 14:35:00 GMT 2001
Synopsis: Explicit specification of a template-argument gives syntax error inside a template function.
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Thu Jun 7 14:35:40 2001
State-Changed-Why:
Not a bug. The parser thinks that < means 'less than'.
You're required by the c++ standard to write
a.template func<char>(); // line 15
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3063&database=gcc
More information about the Gcc-bugs
mailing list