MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / toTuple

Method toTuple

include/runtime/hostfunc.h:138–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137 template <typename Tuple, typename SpanT, size_t... Indices>
138 static Tuple toTuple(SpanT &&Args, std::index_sequence<Indices...>) {
139 return Tuple(std::forward<SpanT>(Args)[Indices]
140 .template get<std::tuple_element_t<Indices, Tuple>>()...);
141 }
142
143 template <typename Tuple, typename SpanT, size_t... Indices>
144 static void fromTuple(SpanT &&Rets, Tuple &&V,

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected