Intel® Threading Building Blocks

Problems with using parallel_do

Hello. I've got next problem with using parallel_do: it even fails to compile if i pass std::bind result:

In file included from D:\Projects\MyProject\src\server.cpp:4:0:

D:/libs/tbb43_20150209/include/tbb/parallel_do.h: In instantiation of 'void tbb::parallel_do(Iterator, Iterator, const Body&) [with Iterator = long long unsigned int; Body = std::_Bind<void (*(std::_Placeholder<1>))(int&)>]':

Intel® Threading Building Blocks abonnieren