We recommend using Visual Studio 2017

simple_partitioner Class


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The simple_partitioner class represents a static partitioning of the range iterated over by parallel_for. The partitioner divides the range into chunks such that each chunk has at least the number of iterations specified by the chunk size.

class simple_partitioner;

Public Constructors

simple_partitioner::simple_partitioner ConstructorConstructs a simple_partitioner object.
simple_partitioner::~simple_partitioner DestructorDestroys a simple_partitioner object.


Header: ppl.h

Namespace: concurrency

Destroys a simple_partitioner object.


Constructs a simple_partitioner object.

explicit simple_partitioner(_Size_type _Chunk_size);



concurrency Namespace