The state of string interpolation

Mike Franklin slavo5150 at yahoo.com
Sat Dec 8 03:16:15 UTC 2018


On Saturday, 8 December 2018 at 03:04:35 UTC, Steven 
Schveighoffer wrote:

> So this is completely different from an AliasSeq. An AliasSeq 
> is a compile-time list, and ONLY allows symbols and values 
> known at compile time. An expression like "a + b" cannot be 
> aliased.

That was the idea behind the `lazy alias` feature discussed 
earlier in this thread.  With that feature, I think expressions 
can be aliased.

`lazy void` already works for runtime arguments.  I think all 
that is required is `lazy alias` for compile-time arguments.

Mike



More information about the Digitalmars-d mailing list