This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9460: parse error on template member function
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: Giovanni Bajo <giovannibajo at libero dot it>
- Cc: Oliver Schoenborn <oliver dot schoenborn at utoronto dot ca>, <gcc-gnats at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>
- Date: Wed, 29 Jan 2003 09:35:45 -0600 (CST)
- Subject: Re: c++/9460: parse error on template member function
> 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/