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


> To: peter@mcs.nl
> From: Alexandre Oliva <oliva@dcc.unicamp.br>
> Date: 29 Sep 1998 00:43:07 -300

> Just add the required parentheses to invoke the method and you're
> done.

> > 		Cfunc( if->some_function);
>   		Cfunc( if->some_function () );
>                                          ^^

Hum...  Could it be that simple?  :-) My face is red, I thought he
wanted the address of the virtual member so he could play with it from
C.  :-)  Sometimes knowledge can be misleading.


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