Is it possible to use tokens as template parameters?

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Sat Aug 14 15:21:51 UTC 2021


On Saturday, 14 August 2021 at 13:50:52 UTC, rempas wrote:
> The behavior I want to achieve is not having to enclose the 
> word (tokens) in double quotes.

The closest you can get is using q{mixed d code} syntax that is 
basically a string containing d code, and hence subject to some 
checkups, and ide highlighting.

Though why do you need this?

Regards,
Alexandru


More information about the Digitalmars-d mailing list