This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 40: pointer to member function syntax
Phil Austin writes:
> Thanks, that works once I add the parentheses:
> (this->*useMethod)(y,ts,dt);
That's right, they are required for method invocation because
parentheses have higher precedence than ->*. Sorry for spreading
misinformation. :-)
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil