Condividi tramite


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.

Syntax

class simple_partitioner;

Members

Public Constructors

Name Description
simple_partitioner::simple_partitioner Constructor Constructs a simple_partitioner object.
simple_partitioner::~simple_partitioner Destructor Destroys a simple_partitioner object.

Inheritance Hierarchy

simple_partitioner

Requirements

Header: ppl.h

Namespace: concurrency

simple_partitioner::~simple_partitioner Destructor

Destroys a simple_partitioner object.

~simple_partitioner();

simple_partitioner::simple_partitioner Constructor

Constructs a simple_partitioner object.

explicit simple_partitioner(_Size_type _Chunk_size);

Parameters

_Chunk_size

See Also

concurrency Namespace