Say I have a C function which takes a variable number of arguments: How can I call another function which expects a variable number of arguments from inside of it, passing a
In magnificent C++0x you could use variadic templates:
template void format_string(char *fmt, Ts ... ts) {} template void debug_print(int dbg_lvl, char *fmt, Ts ... ts) { format_string(fmt, ts...); }