Transform static immutable string array to tuple.

ag0aep6g anonymous at example.com
Sun Feb 19 11:38:35 UTC 2023


On Sunday, 19 February 2023 at 11:08:34 UTC, realhet wrote:
> Is there a better way to transform a string array to a tuple or 
> to an AliasSeq?
>
> ```
> mixin(customSyntaxPrefixes.format!`tuple(%(%s,%))`)
> ```

https://dlang.org/phobos/std_meta.html#aliasSeqOf


More information about the Digitalmars-d-learn mailing list