You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following program demonstrates the issue. This is using the STL version.
struct A {};
void f(int, A&) {}
int main()
{
ctpl::thread_pool pool(4);
A a;
// Does not compile
//f(0,std::move(a));
// So this shouldn't be expected to compile either, yet it does
//pool.push(f, std::move(a));
}
The text was updated successfully, but these errors were encountered:
The following program demonstrates the issue. This is using the STL version.
The text was updated successfully, but these errors were encountered: