This is the mail archive of the gcc@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: sorry not implemented: address of bound pointer-to-member function


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



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