12template <
typename T,
typename...
Args>
17template <
typename Func,
typename...
Args>
22template <
typename Func>
24 static constexpr bool Value = std::is_invocable_v<Func>;
27template <
typename Func,
typename...
Args>
32template <
typename Func>
34 using Type = std::invoke_result_t<Func>;
37template <
template <
typename...>
typename Instance,
typename...>
39 static constexpr bool Value =
false;
42template <
template <
typename...>
typename Instance,
typename...
Args>
44 static constexpr bool Value =
true;
47template <
template <
typename...>
typename Instance,
typename T>
53template <
template <
typename...>
typename Instance,
typename V,
typename E>
65template <
typename V,
typename E>
71template <
typename V,
typename E>
77template <
typename V,
typename E>
Provides a mechanism to access the result of async operations.
Provides a mechanism to access the result of async operations.
Provides a mechanism to access the result of async operations.
Contract< V, E > MakeContract()
Creates related future and promise.
std::invoke_result_t< Func > Type
std::invoke_result_t< Func, Args... > Type
static constexpr bool Value
static constexpr bool Value