Interpolated strings and SQL

Timon Gehr timon.gehr at gmx.ch
Thu Jan 11 20:15:42 UTC 2024


On 1/10/24 16:07, Nickolay Bukreyev wrote:
>>
> 
> Yes! It would be brilliant if `alias` could refer to any Expression, not 
> just symbols. If that was the case, we could just pass 
> InterpolationHeader/Footer/etc. to template parameters (as opposed to 
> runtime parameters, where they go now).

I am not a big fan of this option. If we are going to allow passing 
runtime arguments as template parameters, we might as well just allow 
passing template parameters as runtime arguments instead. It's much more 
clear how to make that work.


More information about the Digitalmars-d mailing list