@@ -48,22 +48,6 @@ namespace nvexec {
4848 requires (sizeof ...(As) > 0 )
4949 using front = typename front_<As...>::type;
5050
51- template <std::size_t I, typename ... T>
52- struct nth_type_ ;
53-
54- template <typename T0, typename ... T>
55- struct nth_type_ <0 , T0, T...> {
56- using type = T0;
57- };
58-
59- template <std::size_t I, typename T0, typename ... T>
60- struct nth_type_ <I, T0, T...> {
61- using type = typename nth_type_<I - 1 , T...>::type;
62- };
63-
64- template <std::size_t I, typename ... T>
65- using nth_type = typename nth_type_<I, T...>::type;
66-
6751 template <class ... Ts>
6852 constexpr auto variadic_max (Ts... as) -> std::size_t {
6953 std::size_t val = 0 ;
@@ -180,8 +164,8 @@ namespace nvexec {
180164 }
181165
182166 template <std::size_t I>
183- STDEXEC_ATTRIBUTE ((host, device)) auto get () noexcept -> detail::nth_type <I, Ts...>& {
184- return get<detail::nth_type <I, Ts...>>();
167+ STDEXEC_ATTRIBUTE ((host, device)) auto get () noexcept -> stdexec::__m_at_c <I, Ts...>& {
168+ return get<stdexec::__m_at_c <I, Ts...>>();
185169 }
186170
187171 STDEXEC_ATTRIBUTE ((host, device)) variant_t ()
0 commit comments