| 516 | |
| 517 | template <typename Function, typename Tuple> |
| 518 | decltype(auto) tupleApplyFunction(Function&& function, Tuple&& args) { |
| 519 | return tupleApplyFunctionIndexes<Function, Tuple>(std::forward<Function>(function), std::forward<Tuple>(args), |
| 520 | typename GenIndexSequence<0, std::tuple_size<typename std::decay<Tuple>::type>::value>::type()); |
| 521 | } |
| 522 | |
| 523 | // Use this version if you do not care about the return value of the function |
| 524 | // or your function returns void. This version DOES happen in a predictable |