c++/9460: parse error on template member function
Wolfgang Bangerth
bangerth@ticam.utexas.edu
Wed Jan 29 15:46:00 GMT 2003
The following reply was made to PR c++/9460; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Giovanni Bajo <giovannibajo@libero.it>
Cc: Oliver Schoenborn <oliver.schoenborn@utoronto.ca>, <gcc-gnats@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>
Subject: Re: c++/9460: parse error on template member function
Date: Wed, 29 Jan 2003 09:35:45 -0600 (CST)
> Sorry for the confusion. The problem is, the compiler still has symmetric
> behaviour:
>
> Foo().F1<A>() compiles with no errors, while it needs the template keyword.
> (accept-illegal)
Which compiler did you check this with? It is well known that before the
new parser was merged into the 3.4 tree, things were wrong. The hope is
that with the new parser we are moving closer to standards conformance.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth/
More information about the Gcc-prs
mailing list