The state of string interpolation

Paul Backus snarwin at gmail.com
Sat Dec 8 07:00:36 UTC 2018


On Saturday, 8 December 2018 at 05:55:58 UTC, Mike Franklin wrote:
> On Saturday, 8 December 2018 at 03:15:47 UTC, Steven 
> Schveighoffer wrote:
>> Really, I just wanted it to expand into "as if you typed all 
>> those things individually separated by commas".
>
> Sounds like a "Variadic Argument List of Strings" to me.
>
> Mike

That's almost exactly what it is, except it's not just strings.

To anyone who's still confused by this, I cannot recommend 
strongly enough the "Compile-Time Sequences" article on 
dlang.org. [1] It explains very clearly what these "argument 
sequences" are and how they work, with copious examples.

[1] https://dlang.org/articles/ctarguments.html


More information about the Digitalmars-d mailing list