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]

Re: problem with this->


>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> On Dec  2, 1998, Milos Grundman <grundman@mip.ups-tlse.fr> wrote:
>> // it works without "this->"
>> template <int j> int f() const { return this->f<j-1>(); };

> Same problem here, you need to prefix `f' with `template' for it to be
> correctly parsed by egcs 1.1. :-(

Isn't that the required syntax? (I don't have my copy of the standard
right here) 


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