MCPcopy Create free account
hub / github.com/Amanieu/asyncplusplus / root_exec_func

Method root_exec_func

include/async++/task_base.h:504–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502struct root_exec_func: private func_base<Func> {
503 template<typename F>
504 explicit root_exec_func(F&& f)
505 : func_base<Func>(std::forward<F>(f)) {}
506 void operator()(task_base* t)
507 {
508 static_cast<task_result<Result>*>(t)->set_result(detail::invoke_fake_void(std::move(this->get_func())));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected