|  | 
hpx::parallel::v1::task_execution_policy
// In header: <hpx/parallel/execution_policy.hpp> struct task_execution_policy { // public member functions task_execution_policy operator()(threads::executor &, std::size_t = 0) const; task_execution_policy operator()(std::size_t) const; };
Extension: The class task_execution_policy is an execution policy type used as a unique type to disambiguate parallel algorithm overloading and indicate that a parallel algorithm's execution may be parallelized. The algorithm returns a future representing the result of the corresponding algorithm when invoked with the parallel_execution_policy.
task_execution_policy public member functionstask_execution_policy operator()(threads::executor & exec, std::size_t chunk_size = 0) const;
Create a new task_execution_policy referencing an executor and a chunk size.
| Parameters: | 
 | ||||
| Returns: | The new task_execution_policy | 
task_execution_policy operator()(std::size_t chunk_size) const;
Create a new task_execution_policy referencing a chunk size.
| Parameters: | 
 | ||
| Returns: | The new task_execution_policy |