why no statements inside mixin teplates?

Domain via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 27 05:11:43 PDT 2017


On Friday, 12 May 2017 at 20:51:17 UTC, سليمان السهمي (Soulaïman 
Sahmi) wrote:
> On Friday, 12 May 2017 at 00:20:13 UTC, سليمان السهمي 
> (Soulaïman Sahmi) wrote:
>> Is there a rational behind not allowing statements inside 
>> mixin templates? ...
>
> I guess the answer is, nobody has written a DIP for it?

I am also wondering why, this is a very useful feature. Now I 
have to use string mixin hack.


More information about the Digitalmars-d mailing list