c++/9460: parse error on template member function

Wolfgang Bangerth bangerth@ticam.utexas.edu
Wed Jan 29 17:46:00 GMT 2003


> 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-bugs mailing list