| 644 | // Remove the Nth element of the tuple |
| 645 | template <int N, class T> |
| 646 | CUTE_HOST_DEVICE constexpr |
| 647 | auto |
| 648 | remove(T const& t) |
| 649 | { |
| 650 | return detail::construct(t, 0, make_seq<N>{}, seq<>{}, make_range<N+1,tuple_size<T>::value>{}); |
| 651 | } |
| 652 | |
| 653 | // Replace the Nth element of the tuple with x |
| 654 | template <int N, class T, class X> |