Re: [boost] boost::bind - cannot convert resulting function object to function pointer

2003-03-04 Thread Greg Colvin
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

[boost] boost::bind - cannot convert resulting function object to function pointer

2003-03-04 Thread Marc Jacobs
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