This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sorry not implemented: address of bound pointer-to-member function
- To: peter at mcs dot nl
- Subject: Re: sorry not implemented: address of bound pointer-to-member function
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 29 Sep 1998 00:43:07 -300
- Cc: egcs mailing list <egcs at cygnus dot com>
- References: <360FB8CF.F023B35E@mcs.nl>
A P Zijlstra <peter@mcs.nl> writes:
> error: "sorry not implemented: address of bound pointer-to-member function".
> What do I do?
Just add the required parentheses to invoke the method and you're
done.
> Cfunc( if->some_function);
Cfunc( if->some_function () );
^^
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil