I have a design decision hanging on if issue 3073 is valid:

http://d.puremagic.com/issues/show_bug.cgi?id=3072

I'm not looking to get it fixed right now (I wouldn't mind if it was :) but to move forward on something I need to know if it ever will be.

----

The short version is should this work:

template Do(T...)
{
 void It()
 {
     foreach(i,_;T) writef("%sn", T[i]);
 }
}

struct S
{
   int i; int j; float k; char[] m;
   mixin Do!(i, k, m);
}


Reply via email to