MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / tupleUnpackFunction

Function tupleUnpackFunction

source/core/StarAlgorithm.hpp:504–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502
503template <typename Function, typename Tuple>
504decltype(auto) tupleUnpackFunction(Function&& function, Tuple&& args) {
505 return tupleUnpackFunctionIndexes<Function, Tuple>(std::forward<Function>(function), std::forward<Tuple>(args),
506 typename GenIndexSequence<0, std::tuple_size<typename std::decay<Tuple>::type>::value>::type());
507}
508
509// Apply a function to every element of a tuple. This will NOT happen in a
510// predictable order!

Callers 3

performControlsMethod · 0.85
renderImplMethod · 0.85
TESTFunction · 0.85

Calls 1

typeFunction · 0.50

Tested by 1

TESTFunction · 0.68