| 502 | struct 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()))); |
nothing calls this directly
no outgoing calls
no test coverage detected