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

Function remove

include/cute/algorithm/tuple_algorithms.hpp:646–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644// Remove the Nth element of the tuple
645template <int N, class T>
646CUTE_HOST_DEVICE constexpr
647auto
648remove(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
654template <int N, class T, class X>

Callers 1

parseMethod · 0.85

Calls 1

constructFunction · 0.85

Tested by

no test coverage detected