RE: gcc oriented questions
- From: Daniel Elstner <daniel elstner gmx net>
- To: Esteban Quijano Vincenzi <Esteban Quijano artinsoft com>
- Cc: gtk-list gnome org
- Subject: RE: gcc oriented questions
- Date: 08 Aug 2001 18:45:20 +0200
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.
] [Thread Prev