DIP 1027---String Interpolation---Format Assessment
Walter Bright
newshound2 at digitalmars.com
Thu Feb 27 00:18:01 UTC 2020
You can also write:
print(format(i"I have $apple_cnt apples"));
void print(string s) { print_many(s); }
and get the behavior you're looking for.
More information about the Digitalmars-d-announce
mailing list