Treat a normal function as variadic?

Robin Allen r.a3 at ntlworld.com
Wed May 30 09:46:06 PDT 2007


Thanks, this is how I had been trying to do it before giving up and 
trying it the hacky way.

By the looks of your code, I almost had it, too, I just assumed that 
this bit would be impossible:

args[i] = params[i].convertTo!(typeof(args[i]));

because args is a tuple and the docs say the "number and contents of 
tuple elements are fixed at compile time". Is that wrong?


More information about the Digitalmars-d-learn mailing list