Hello guys, my question is, its possible to write a mixin in a class, then if that class is inherited, the mixin will be written again instead of written the mixin again in the class child, for example:

Class A(T)
{
 mixin(WriteFunctionFor!(A));
}

Class B : A(B)
{
... -> mixin is written for B without need to write ("mixin(Write...))")
}

Class C : A(C)
{
... -> mixin is written for C without need to write ("mixin(Write...))")
}

Reply via email to