| 502 | |
| 503 | template <typename Function, typename Tuple> |
| 504 | decltype(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! |