
25 Nov
2011
25 Nov
'11
3:49 p.m.
AMDG On 11/25/2011 04:24 AM, Joel de Guzman wrote:
Now, how about error messages. Here's the lambda part:
std::for_each(vec.begin(), vec.end(), plus4(_1, b, l, s));
You'd have to be absurdly dumb to get that wrong!
You keep saying this, but I find it really hard to believe. My experience is that *nothing* is so simple that you can't get it wrong. In Christ, Steven Watanabe