In the TBB book it shows that concurrent_vector has a function named range(size_t grainsize).
I want to iterate over a concurrent_vector, applying an operation to each element. However, I would prefer to use the auto partitioner. Currently, I am passing this for range type in a parallel_for:
Is there a better way, that uses the auto partitioner?