Passing _arguments into another variadic function

Satoshi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 12 02:08:06 PDT 2016


Hello, I have a little problem with Variadic functions.

I have function like:

void perform(string method, ...) {
// here I want to call method findMethod with _argptr and 
_arguments

}

MethodDesc findMethod(string method, ...) {
// some lookup through the tables...
}


I know there are variadic templates, but I want to use this style 
of implementation.

Is it possible to pass varargs to another function or must I do 
it by asm?


Thanks for help :)


More information about the Digitalmars-d-learn mailing list