|
Boost : |
Subject: Re: [boost] (Boost.)Overload vs Boost.Functional/OverloadedFunction (was Re: Status of proposed boost.overload?)
From: Marco Cecchetti (mrcekets_at_[hidden])
Date: 2012-04-01 12:23:48
On Wed, 28 Mar 2012 16:52:52 +0200, Nathan Ridge <zeratul976_at_[hidden]>
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/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk