[LC++] function adresses member/nonmember
lloyd at randombit.net
Mon Jul 16 13:35:11 UTC 2007
On Sun, Jul 15, 2007 at 08:46:10PM +0200, Julien Claassen wrote:
> I've got a problem. I have a class which implements a kind of
> callback-function signature is:
> char** (Midish_rl::*)(const char *, int, int);
> But the external c-library complains about the 'Midish_rl' part in it.
> I tried writing a wrapper function, but for that I need an object, which it
> can use interally. I tried defining one in one cpp-file, but also need to use
> it in another.
> I think I'm going wrong here. Can anyone help me, what to do about it?
Have you looked at libsigc++ or boost.signals?
More information about the tuxCPProgramming