RE: gcc oriented questions

Am 08 Aug 2001 10:22:35 -0600 schrieb Esteban Quijano Vincenzi:

> As a matter of fact I declared my callback functions as friend functions
> inside my classes and it worked. 

Of course that works, provided the functions are global
or static members of another class. But you have to pass
an explicit pointer to the object in either way.

It won't work to pass a pointer to a real member function.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]