Pass _arguments to next method?

Koroskin Denis 2korden at gmail.com
Fri Jul 4 04:15:45 PDT 2008


On Fri, 04 Jul 2008 14:56:44 +0400, Benjamin Schulte <Aldoric at gmx.de>  
wrote:

> nd I did again as you said. But I can't find the solution for my  
> problem. I can not do something like:

Try this:

import std.stdio;

void debugln(T...)(T t) {
     writefln(t);
}

int main() {
     debugln("hello", ", ", "world!");
     return 0;
}



More information about the Digitalmars-d mailing list