What does q{...} mean?

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Mon Feb 24 22:13:49 PST 2014


On Monday, 24 February 2014 at 18:40:14 UTC, monarch_dodra wrote:
> Also, a "qstring" can only contain valid D tokens ("token 
> string"). If your mixin string does not adhere some the base D 
> syntaxic rules, you'll get a compilation error. In particular, 
> you'll need balanced bracing/parenthesising, and correctly 
> formed tokens.

And even with all these rules, it still works great for other 
languages like Lua.


More information about the Digitalmars-d-learn mailing list