
18 Sep
2012
18 Sep
'12
3:16 p.m.
On 09/18/2012 04:43 PM, Christof Donat wrote:
transform(v.begin(), v.end(), v.begin(), _1 * sqrt(_1) + 4);
Is there a way to use C++11 Lambdas here?
Assuming the function must be converted to OpenCL, no. It's only possible when the body is introspectable.