String interpolation, after a healthy debate on discord
Adam D Ruppe
destructionator at gmail.com
Tue Dec 14 16:04:42 UTC 2021
On Tuesday, 14 December 2021 at 15:58:21 UTC, WebFreak001 wrote:
> I was thinking about this as well - it would work but would run
> at runtime.
Not necessarily - the string literal portions ARE available at
compile time and the function could just choose to return those
as a ctfe calculation.
That's one of the deeper layers of good about this dip.
More information about the Digitalmars-d
mailing list