What is the function declaration called ??
<pre> // Our function to compute std::function<void(int&)> spin = [](int &iteration) { const int work = 1000 * 1000 * 40; volatile int v = 0; for (int j = 0; j < work; ++j) ++v; qDebug() << "iteration" << iteration << "in thread" << QThread::currentThreadId(); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)