Metaprogramming with D

ag0aep6g anonymous at example.com
Mon Jun 8 14:45:56 UTC 2020


On 08.06.20 16:41, Jan Hönig wrote:
> On Sunday, 7 June 2020 at 00:45:37 UTC, Ali Çehreli wrote:
[...]
>>   writeln(q{
>>       void foo() {
>>       }
>>     });
> 
> What is the name of this `q` thing?
> How do i find it? Are there any recent tutorials on it?

https://dlang.org/spec/lex.html#token_strings
https://ddili.org/ders/d.en/literals.html#ix_literals.q{}


More information about the Digitalmars-d-learn mailing list