Feedback Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2
jmh530
john.michael.hall at gmail.com
Wed Jan 27 11:43:59 UTC 2021
On Wednesday, 27 January 2021 at 10:33:53 UTC, Mike Parker wrote:
> [snip]
More typos ("which" should be "that" in all)
Functions which accept an appropriate string type will work with
string interpolation literals due to the rewrite by the compiler
to the idup call.
The second use case is for functions which can process the data
without needing a string translation.
However, functions which accept interp literals will work in
BetterC as long as the interp template is available.
The interpolated string struct should contain its own arguments;
the proposed approach of rewriting to <interplationSpec>, arg1,
arg2 is confusing and prohibits implementing functions which
accept two interpolated string arguments.
More information about the Digitalmars-d
mailing list