j
k
j a
j l
Especially, why does it work without the assignment which is
the example from the docs?
The example from the docs is acc = std::for_each( data.begin(), data.end(), acc ); In your case the function object is not acc but bind<void>(...ref(acc)...).
Back to the thread
Back to the list