Lightweight parallel for loop in C++11