sorry not implemented: address of bound pointer-to-member function

Alexandre Oliva oliva@dcc.unicamp.br
Mon Sep 28 21:17:00 GMT 1998


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




More information about the Gcc mailing list