this may seem a bit nonsensical but it is just an example:
interface A(T, S...)
{
... Generate a getter for each type in S...
// e.g., @property S[0] property1();
// @property S[1] property2();
// ....
}
I imagine I have to use a mixin template but I'm unsure how to
create a static loop that can be used properly.
I think maybe using mixin's of mixin's is possible but I can't think of any simple way. Any ideas?
