String Interpolation

IGotD- nise at nise.com
Fri Oct 27 19:54:57 UTC 2023


On Friday, 27 October 2023 at 19:18:08 UTC, djent wrote:
> After giving Adam's implementation a spin, I'm convinced this 
> is the proper way to move forward despite not having conceived 
> it as a possibility beforehand. It's powerful, exploiting D's 
> superior metaprogramming and DBI capabilities, but doesn't 
> stray too far from the current situation found in many 
> languages in that one can just use `text` or something similar 
> if a plain string is required.

Which makes me wonder is there a way to open up for implicit 
conversions? C++ has this which I kind of like.
Can we meet in the middle of road and allow implicit conversions 
in some cases?


More information about the Digitalmars-d mailing list