string to type

Виталий Фадеев vital.fadeev at gmail.com
Thu Feb 25 06:53:28 UTC 2021


On Thursday, 25 February 2021 at 06:51:11 UTC, Виталий Фадеев 
wrote:
> Say, please,
> how to convert string to type ?
>
> [...]

Simple version of this question is:
    string t = "X";
    mixin t!();   // <-- HERE TROUBLE


More information about the Digitalmars-d-learn mailing list