problem with this->
Gabriel Dos Reis
Gabriel.Dos-Reis@dptmaths.ens-cachan.fr
Thu Dec 3 09:05:00 GMT 1998
>>>>> 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)
More information about the Gcc-bugs
mailing list