Workaround for DIP 1005

crimaniak via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 4 03:50:50 PST 2017


On Friday, 3 February 2017 at 21:23:22 UTC, Daniel Nielsen wrote:

> I just had to try one more thing. It never ceases to amaze me 
> what is possible in D today.
  Yes, all except of good IDE and tooling.

>
> template imp(string mod) { mixin("import imp = " ~ mod ~ ";"); }
... because of string mixins.




More information about the Digitalmars-d mailing list