What do you thing about this string interpolation idea

Neia Neutuladh neia at ikeran.org
Mon Dec 10 19:16:27 UTC 2018


On Mon, 10 Dec 2018 19:35:16 +0100, Daniel Kozak wrote:
> I do not see any problem with add one line in every function.

One line in every scope, rather:

    void foo()
    {
      mixin(interpSupport);
      {
        auto i = 10;
        // doesn't work
        writeln(interp!"i is $i");
      }
    }


More information about the Digitalmars-d mailing list