Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-23 09:58:06


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

> David Abrahams wrote:
>> on Sun Jul 22 2007, Scott Meyers <usenet-AT-aristeia.com> wrote:
>
> ...
>
>>> It would be nice if
>>> http://www.boost.org/doc/html/lambda/using_library.html#lambda.actual_arguments_to_lambda_functors
>>> mentioned the conditions under which using Lambda with standard
>>> iterator types might not compile and called out istreambuf_iterator
>>> by name. At least then my Googling for information would have been
>>> likely to help.
>>
>> Yes, it would be nice.
>
> 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)?

-- 
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