Subject: Re: [boost] (Boost.)Overload vs Boost.Functional/OverloadedFunction (was Re: Status of proposed boost.overload?)
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2012-03-28 10:52:52
> 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).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk