Is it possible to construct a function call (inside a function template) with a variable number of arguments, depending on the number of template arguments? Sort of:
void f(int i) {} void f(int i1, int i2){} void f(int i1, int i2, int i3){} ... template<typename... T> void caller() { f(); }
source share