title: passing functor as function pointer
body: <p>I'm trying to use a C library in a C++ app and have found my self in the following situation (I know my C, but I'm fairly new to C++). On the C side I have a collection of functions that takes a function pointer as their argument.  On the C++ side I have objects with a functor which has the same signature as the function pointer needed by the C function.  Is there any way to use the C++ functor as a function pointer to pass to the C function?</p>