¡@

Home 

c++ Programming Glossary: call_on_tuple

Return several arguments for another function by a single function

http://stackoverflow.com/questions/14089637/return-several-arguments-for-another-function-by-a-single-function

basic idea is to use a template function which I've called call_on_tuple to take a function argument f as well as a tuple of further.. unsigned... Is typename std result_of Fun Args... type call_on_tuple Fun f std tuple Args... tup indices Is... return f std get Is.. is that instead of calling length arguments you would call call_on_tuple length arguments This assumes that arguments is changed so it..