Tuples, CTFE, and Sliding Template Arguments

Timon Gehr timon.gehr at gmx.ch
Sat Jan 13 10:01:35 UTC 2024


On 1/13/24 07:27, Walter Bright wrote:
>> Yes, and there is more:
>>
>> ```d
>> writefln(i"is it here? ${}(1) Or here? %s");
>> ```
> 
> An empty format ${} would be a compile time error. The %s would be 
> rewritten as %%s.

./dmd -run test.d
is it here?  Or here? 1



More information about the Digitalmars-d mailing list