
28 Mar
2012
28 Mar
'12
2:52 p.m.
Passing to another issue, do you know a way for getting the call signature of the call object type resulting from a lambda or phoenix bind expression at least in the case that the call object is monomorphic ?
Do you mean Boost.Lambda or C++11 lambda? For C++11 lambda, if T is the type of the lambda, and it's monomorphic, get the address of its call operator using &T::operator(), and examine it using Boost.FunctionTypes (keeping in mind that the first argument will be the "this" pointer because it's a member function). Regards, Nate