Variadic grouping

JS js.mdnq at gmail.com
Mon Jul 29 06:23:21 PDT 2013


Sometimes it's nice to be able to have groups of variadic 
parameters:

template t(T1..., T2...)

...

t!(a, b, c; d, e, f);

so that a,b,c are for T1 and d,e,f are for T2.

This can be done by making a symbol and breaking up a single 
variadic but is messy.

I doubt such a feature will ever get added but who knows...



More information about the Digitalmars-d mailing list