This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9887: Syntax error on explicit member function template argument in function template body
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, isak at hypergene dot com, nobody at gcc dot gnu dot org
- Date: 3 Mar 2003 15:17:05 -0000
- Subject: Re: c++/9887: Syntax error on explicit member function template argument in function template body
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, isak at hypergene dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Syntax error on explicit member function template argument in function template body
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Mar 3 15:17:04 2003
State-Changed-Why:
Not a bug. You need to write
x.template f<int>(); // syntax error
(note the "template" keyword here).
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9887