MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / insert

Function insert

include/cute/algorithm/tuple_algorithms.hpp:637–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635// Insert x into the Nth position of the tuple
636template <int N, class T, class X>
637CUTE_HOST_DEVICE constexpr
638auto
639insert(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
645template <int N, class T>

Callers

nothing calls this directly

Calls 1

constructFunction · 0.85

Tested by

no test coverage detected