task_from_result Function (Concurrency Runtime)
TOC
Collapse the table of content
Expand the table of content

task_from_result Function (Concurrency Runtime)

 

template<
   typename _Ty
>
task<_Ty> task_from_result(
   _Ty_Param,
   const task_options& _TaskOptions = task_options()
);

inline task<bool> task_from_result(
   bool _Param
);

inline task<void> task_from_result(
   const task_options& _TaskOptions = task_options()
);

_Ty
_Param
_TaskOptions

Requirements

Header: ppltasks.h

Namespace: concurrency

Show:
© 2016 Microsoft