7 Dec
2007
7 Dec
'07
7:55 p.m.
On Fri, 7 Dec 2007 09:35:47 -0800
"Kobi Cohen-Arazi"
Hi Folks,
What's wrong with the following simple approach:
---- Start code ----
using boost::lambda;
Try: using namespace boost::lambda;
int a[10]
You forgot a semicolon: int a[10];
std::for_each(a, a+10, std::cout << _1);
---- End code ----
It doesn't compile. What am I missing here?
If it doesn't compile with this, please copy the error text so we can help you.
OTOH, this complete example works for me:
---- Start code ----
#include
Thanks, -- - Kobi
HTH, Raul.