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
for (int i : {0,4,2,5,1,3}) {
int sleepTime = dist(mt);
p += [i, sleepTime]() {};
}
std::vector<int> result;
for (auto it = p.begin<void(); it != p.end<void>(); ++it);
A specialization for parallel::begin<void> is needed to get this code functional.
The text was updated successfully, but these errors were encountered:
This allows lambdas that have no return type to be added to the parallel collection, and have their completion status be tracked the same way.
Fixes#687
This allows lambdas that have no return type to be added to the parallel collection, and have their completion status be tracked the same way.
Fixes#687
This allows lambdas that have no return type to be added to the parallel collection, and have their completion status be tracked the same way.
Fixes#687
Let the following code work:
A specialization for
parallel::begin<void>
is needed to get this code functional.The text was updated successfully, but these errors were encountered: