diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-02-08 13:12:50 +0100 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-02-09 14:33:45 +0100 |
commit | 800f38923a4b03f3b22639ba169afbe5edb6c9f5 (patch) | |
tree | e8c745dd236a3804b27e62125396b2fecb3cb8a7 /async/src/async_impl.h | |
parent | 2c3de5fcfdb5d97ad71577b2f1fd6257743c2c51 (diff) | |
download | sink-800f38923a4b03f3b22639ba169afbe5edb6c9f5.tar.gz sink-800f38923a4b03f3b22639ba169afbe5edb6c9f5.zip |
Async: Move Async::PrevOut to Async::detail::prevOut
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 |