Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-23 10:32:08


on Mon Jul 23 2007, "Peter Dimov" <pdimov-AT-mmltd.net> wrote:

> David Abrahams wrote:
>> on Mon Jul 23 2007, "Peter Dimov" <pdimov-AT-mmltd.net> wrote:
>
> ...
>
>>> It might be easier to just make it work by adding the appropriate A
>>> const& overloads to lambda_functor, as we did with boost::bind.
>>
>> Aren't we going to run into the forwarding problem (at some arity,
>> anyway)?
>
> The automatic equivalent of "const_parameters" only requires one additional
> overload with everything const&.

Oh, right.

> Lambda only supports up to three arguments
> so even the full 2^N is feasible.

Well, then, I would go for that. But we'd have to get someone who
knows BLL to do the work ;-)

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net