xxxxxxxxxx
import core.vararg;
void foo(...)
{
import std.stdio;
writeln(_arguments);
}
void fun(...)
{
foo(_argptr, _arguments); // no luck
}
void tfoo(Args...)(Args args)
{
import std.stdio;
writeln(args);
}
void tfun(Args...)(Args args)
{
tfoo(args);
foo(args);
}
void main ()
{
foo(6, 7.0, "eight");
fun(6, 7.0, "eight");
tfoo(6, 7.0, "eight");
tfun(6, 7.0, "eight");
}