Functor that recovers the original workfunction passed to task creation prior to any wrappers to support the promotion of localized return values. More...
Static Public Member Functions | |
static result_type | apply (WF const &wf) |
Public Types | |
typedef WF | result_type |
Functor that recovers the original workfunction passed to task creation prior to any wrappers to support the promotion of localized return values.
WF | The type of the workfunction that is held in a Task that may have been transformed to support promotion. |
The functor supports task migration, allowing the original workfunction to be recovered to be paired with the original, non localized viewset. Localization will be attempted again on the new execution location, once migration has completed.
Primary template matches case where promote_wf wrapper was not applied. Return the input parameter.