make_task Template Function

Summary

Template function for creating a task_handle from a function or functor.

Syntax

template<typename Func> 
 task_handle<Func> make_task( const Func& f ); 

Returns

task_handle<Func>(f
For more complete information about compiler optimizations, see our Optimization Notice.