DIP 1027---String Interpolation---Community Review Round 1

Guillaume Piolat first.last at gmail.com
Sun Dec 15 18:25:40 UTC 2019


On Sunday, 15 December 2019 at 17:26:57 UTC, Jab wrote:
> On Sunday, 15 December 2019 at 15:36:09 UTC, Guillaume Piolat
>
> There's no reason it can't be implicitly converted to a string.


Okay. Let's say this would compile:

     int stuff = 4;
     string s = i"my interpolated %stuff string";


Where should the result of i"my interpolated %stuff string" be 
allocated?
If you answer "with the GC", then this feature requires the 
runtime...


More information about the Digitalmars-d mailing list