Proposal: Implicit Function Template Value Instantiation
Steven Schveighoffer
schveiguy at gmail.com
Wed Sep 28 14:00:51 UTC 2022
On 9/28/22 8:59 AM, FeepingCreature wrote:
> Everybody had to move from `writefln("%s = %s", a, b)` to `writefln!"%s
> = %s"(a, b)` in order to get the benefit of static format string syntax
> checking.
"had to" is a strong term. I didn't and don't ever plan to.
I'm not interested in template bloat for something that works perfectly
fine without it. I don't need the compiler to tell me that `writefln("%s
= %s", a, b)` is correct.
And I certainly don't want the compiler to make this choice for me.
-Steve
More information about the Digitalmars-d
mailing list