No. Current implementation doesn't enforce it. Kenji Hara
2012年4月12日18:21 Daniel Murphy <[email protected]>: > "kenji hara" <[email protected]> wrote in message > news:[email protected]... >> It conflicts with ”alias this” syntax. >> >> template Inherits(T) >> { >> T value; >> alias T Inherits; // (1) Inherits!int == int >> alias T this; // (2) declares "alias this"! >> } >> struct S { >> mixin Inherits!int; // (1) invalid or (2) mixing alias this declaration? >> } >> >> Kenji Hara >> > > Doesn't it need to be explicitly marked as a 'mixin template' for it to be > mixed in? > >
