i\'m new in c++ programing and need some help to use a thread library with vector library...
first I follow this tutorial
but the compiler (visual studio 2013) s
finally I can solve the problem with this change in my code...
workers.emplace_back(thread{ [&]() { calcIterThread(ref(res), inicio, fin, i); }});