template
void callback(int i) { (p->*f)(i); }
At 08:02 AM 3/4/2003, Marc Jacobs wrote:
>I'm trying to use a member function as a callback to a C-style library. I've
>got the bind working by itself, but the resulting function object does not
>convert to the type required by the library. Clearly
I'm trying to use a member function as a callback to a C-style library. I've
got the bind working by itself, but the resulting function object does not
convert to the type required by the library. Clearly a boost::bind object is
not a simple function pointer and the type is being checked by the com