DIP 1027---String Interpolation---Format Assessment

aliak something at something.com
Tue Feb 25 09:36:25 UTC 2020

On Tuesday, 25 February 2020 at 07:07:50 UTC, Walter Bright wrote:
> All DIP1027 did was turn an istring into a tuple. That's it. 
> The user can then do whatever they want with the tuple, 
> including overloading a custom function based on the tuple 
> arguments. DIP1027 did not actually do ANY formatting at all.

This may have already been answered in the other threads, but I 
was just wondering if anyone managed to propose a way to avoid 
this scenario with DIP1027?

void f(string s, int i = 0);
f(i"hello $a"); // silent unwanted bahviour.


More information about the Digitalmars-d-announce mailing list