18 #if !defined(__FLECSI_PRIVATE__) 19 #error Do not include this file directly! 27 #include <type_traits> 33 const exec::launch_domain & LAUNCH_DOMAIN,
39 using R =
typename util::function_traits<decltype(F)>::return_type;
40 if constexpr(std::is_void_v<R>) {
41 F(std::forward<ARGS>(args)...);
42 return future<void>{};
45 return future<R>{F(std::forward<ARGS>(args)...)};
decltype(auto) reduce(ARGS &&... args)
Definition: policy.hh:90
Definition: control.hh:31