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.

Reply via email to