This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]