23 Jul
2007
23 Jul
'07
2:32 p.m.
on Mon Jul 23 2007, "Peter Dimov"
David Abrahams wrote:
on Mon Jul 23 2007, "Peter Dimov"
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