Re: Passing _arguments into another variadic function

2016-04-12 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 12 April 2016 at 09:08:06 UTC, Satoshi wrote: Is it possible to pass varargs to another function or must I do it by asm? In C, you would make a version of the function that takes the va_list type (see, for example, vprintf). I believe in D, you'd want to do the same thing. Make

Re: Passing _arguments into another variadic function

2016-04-12 Thread Steven Schveighoffer via Digitalmars-d-learn
On 4/12/16 5:08 AM, Satoshi wrote: 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 tab

Passing _arguments into another variadic function

2016-04-12 Thread Satoshi via Digitalmars-d-learn
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 variad