How to redirect variadic function parameters?

Mikko mikko at dev.null
Sun Feb 18 12:31:32 PST 2007


In case I have

void foo(...) {}
void bar(...) {}

how should I call bar from foo and passing along all the parameters?

void foo(...) { bar(?); } // bar(...) doesn't work

thanks, Mikko


More information about the Digitalmars-d-learn mailing list