Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-03-23 21:52:19


> Fletcher, John P wrote:
> > Hi
> >
> > I did some tests with lambda2 some time ago and the review release
> > seems to be the same. One of the useful things in the old lambda is this
> example:
> >
> > for_each(a.begin(), a.end(), std::cout << _1 << ' ');
> >
> > I could not get this to work with lambda2. I am not in a position to
> > run my tests again at the moment. It would be good if this example did work.
>
> Despite being deceptively simple, this is actually a pretty thorny example for
> lambda libraries.

Looks like I mentally replaced ' ' with std::endl in the above, sorry. :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk