Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

Walter Bright newshound2 at digitalmars.com
Fri Jan 29 11:14:20 UTC 2021


On 1/29/2021 2:53 AM, Arafel wrote:
> Of course one could settle on a default placeholder and then reparse the string 
> to adapt it as needed, that's in fact what JDBC does, but... here we have the 
> chance to do the right thing from the beginning.

I bet it could be done with a template overload of the function call. This 
doesn't make it worse than DIP1036, which requires template overloads written by 
the user anyway.


More information about the Digitalmars-d mailing list