Commit 47eda458 authored by Pranav Thulasiram Bhat's avatar Pranav Thulasiram Bhat Committed by Facebook GitHub Bot

Arguments for async_invocable_inner_type

Summary: Add variadic template argument parameters to async_invocable_inner_type (so it can support overloaded callables).

Differential Revision: D33534807

fbshipit-source-id: 8bd1d2bc48bb27592b9d728dbd67e85bbed32144
parent 5ddabd17
......@@ -174,12 +174,13 @@ template <typename T>
using async_inner_type_t = typename async_inner_type<T>::type;
// async_invocable_inner_type
template <typename F>
using async_invocable_inner_type = async_inner_type<invoke_result_t<F>>;
template <typename F, typename... Args>
using async_invocable_inner_type =
async_inner_type<invoke_result_t<F, Args...>>;
template <typename F>
template <typename F, typename... Args>
using async_invocable_inner_type_t =
typename async_invocable_inner_type<F>::type;
typename async_invocable_inner_type<F, Args...>::type;
} // namespace async
} // namespace fibers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment