On 1/5/10 08:50, Alex wrote:
Is it possible, using templates, tuples, or some other mechanism, to implement named variadic arguments in D?For example, I'd like to be able to do something like... foo( 2,&bar, age : 10, status : "down"); and so forth.
You can try and see if you can modify this to do what you want: http://tango.pastebin.com/m2ae0ea3e it's named arguments but not variadic.