#include <mp-coro/async.h>
Collaboration diagram for async< Func >:Public Types | |
| using | return_type = std::invoke_result_t< Func > |
Public Member Functions | |
| template<typename F > requires std::same_as<std::remove_cvref_t<F>, Func> | |
| async (F &&func) | |
| decltype(auto) | operator co_await () &=delete |
| decltype(auto) | operator co_await () && |
Private Attributes | |
| Func | func_ |
| detail::storage< return_type > | result_ |
| using return_type = std::invoke_result_t<Func> |
|
delete |
|
inline |
|
private |