mixin template X
{
void foo() { }
}
struct s
{
mixin template
void foo() { }
}
I was pretty sure I read somewhere that D would not include the
foo from the template since it already exists.
Engine Machine via Digitalmars-d-learn Tue, 09 Aug 2016 15:16:55 -0700
mixin template X
{
void foo() { }
}
struct s
{
mixin template
void foo() { }
}
I was pretty sure I read somewhere that D would not include the
foo from the template since it already exists.