FleCSI User API Version: 2.3.1
 
Loading...
Searching...
No Matches
future< Return, Launch > Struct Template Reference

Single or multiple future. More...

Detailed Description

template<typename Return, exec::launch_type_t Launch = exec::launch_type_t::single>
struct flecsi::future< Return, Launch >

Single or multiple future.

A single future can be a task argument and parameter; the task runs only when the value is ready. A multi-valued future may be passed to a task expecting a single one (which is then executed once with each value).

Template Parameters
ReturnThe return type of the task.
LaunchFleCSI launch type: single/index.