On Fri, Aug 8, 2008 at 14:13, Jesse Perla
Is there any way to get a normal function pointer out of a boost::function (with its state and potential bindings)? I want to have the option of calling existing optimization routines that are not functor aware. And hopefully including Fortran and C functions as well? I imagine that any solution to this would be hacky and potentially slow, but it would be nice to have the option without porting every optimization routine.
Boost.Thread needs to pass a plain function pointer to the native
libraries, but has a boost::function