std::vector<std::string> foo; std::for_each( std::execution::par_unseq, foo.begin(), foo.end(), [](auto&& item) { //do stuff with item });