Metaprogramming with D
ag0aep6g
anonymous at example.com
Mon Jun 8 14:50:35 UTC 2020
On 08.06.20 16:45, ag0aep6g wrote:
> 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{}
Hm. That second link is somewhat malformed. Better one:
https://ddili.org/ders/d.en/literals.html#ix_literals.q%7B%7D
More information about the Digitalmars-d-learn
mailing list