| 635 | // Insert x into the Nth position of the tuple |
| 636 | template <int N, class T, class X> |
| 637 | CUTE_HOST_DEVICE constexpr |
| 638 | auto |
| 639 | insert(T const& t, X const& x) |
| 640 | { |
| 641 | return detail::construct(t, x, make_seq<N>{}, seq<0>{}, make_range<N,tuple_size<T>::value>{}); |
| 642 | } |
| 643 | |
| 644 | // Remove the Nth element of the tuple |
| 645 | template <int N, class T> |
nothing calls this directly
no test coverage detected