Open source dmd on Reddit!

Walter Bright newshound1 at digitalmars.com
Sat Mar 7 14:15:39 PST 2009


Andrei Alexandrescu wrote:
> One improvement from the language could come from dropping the parens 
> requirement for mixin, in which case:
> 
>  mixin bitfields!"
>       uint x :  2,
>       int  y :  3,
>       uint z :  2,
>       bool flag : 1,
>       ";

Have to resolve the ambiguity with template mixins for that to work.


More information about the Digitalmars-d-announce mailing list