
On Wed, 28 Mar 2012 16:52:52 +0200, Nathan Ridge <zeratul976@hotmail.com> wrote:
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).
No I mean Boost.Lambda and Boost.Phoenix bind expression, however thanks for illustrating such C++11 feature. Regards, -- Marco -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/