reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
134 ptrdiff_t TaskSize = std::distance(Begin, End) / 1024; 139 while (TaskSize < std::distance(Begin, End)) { 140 TG.spawn([=, &Fn] { std::for_each(Begin, Begin + TaskSize, Fn); }); 140 TG.spawn([=, &Fn] { std::for_each(Begin, Begin + TaskSize, Fn); }); 141 Begin += TaskSize; 143 std::for_each(Begin, End, Fn);