diff options
Diffstat (limited to 'async/src/async_impl.h')
-rw-r--r-- | async/src/async_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/async/src/async_impl.h b/async/src/async_impl.h index e281bda..58f6ced 100644 --- a/async/src/async_impl.h +++ b/async/src/async_impl.h | |||
@@ -40,6 +40,11 @@ struct isIterable<T, typename std::conditional<false, typename T::iterator, void | |||
40 | enum { value = 1 }; | 40 | enum { value = 1 }; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | template<typename ... T> | ||
44 | struct prevOut { | ||
45 | using type = typename std::tuple_element<0, std::tuple<T ..., void>>::type; | ||
46 | }; | ||
47 | |||
43 | } // namespace Detail | 48 | } // namespace Detail |
44 | 49 | ||
45 | } // namespace Async | 50 | } // namespace Async |