[ ArgumentList ] vs. @( ArgumentList )

Walter Bright newshound2 at digitalmars.com
Wed Nov 7 14:42:37 PST 2012


On 11/7/2012 1:16 PM, Timon Gehr wrote:
> Text interpolation.
>
> enum d = "c";
>
> mixin(X!"abc@(d)ef"); // -> abccef
>
> I use it mostly for code generation.
>
> mixin(mixin(X!q{
>      if(@(a)) @(b);
> }));

I see. How hard would it be to change it?


More information about the Digitalmars-d mailing list