Going from string to identifier

Adam D. Ruppe destructionator at gmail.com
Wed Feb 21 22:32:57 UTC 2018


On Wednesday, 21 February 2018 at 22:22:55 UTC, Meta wrote:
> Mixins have to be full declarations.

They need to be full declarations, full statements, or full 
expressions, depending on the context where they appear.

>     string s = mixin("teste");

so that is a full expression and thus legal.


More information about the Digitalmars-d-learn mailing list