You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container that holds a task that can be executed asynchronously. It is possible for tasks to return values,
but for practical purposes generally you would use task::after to retrieve the result.
// holds the function
std::function<result_type (Args...)> func;
// stores arguments
std::tuple<Args...> args;
// Run after the execution of the task, result is passed as the R parameter
after_type after;