|
![](/i/fill.gif) |
Warp wrote:
> std::for_each(someList, [&total](int x) { total += x });
And, really, what's the advantage of this over a normal for loop?
--
Darren New, San Diego CA, USA (PST)
My fortune cookie said, "You will soon be
unable to read this, even at arm's length."
Post a reply to this message
|
![](/i/fill.gif) |