From: Kobi Cohen-Arazi (kobi.cohenarazi_at_[hidden])
Date: 2007-12-07 12:35:47


Hi Folks,

What's wrong with the following simple approach:

---- Start code ----

using boost::lambda;

int a[10]
std::for_each(a, a+10, std::cout << _1);

---- End code ----

It doesn't compile.
What am I missing here?

Thanks,

-- 
- Kobi