Template mixin problem with EnumMembers

Ferhat Kurtulmuş aferust at gmail.com
Sat Oct 2 22:35:38 UTC 2021


On Saturday, 2 October 2021 at 22:24:56 UTC, Adam Ruppe wrote:
> On Saturday, 2 October 2021 at 22:07:23 UTC, Ferhat Kurtulmuş 
> wrote:
>> [...]
>
> You used .stringof. That's undefined behavior. Never use 
> stringof. (except for debugging writes)
>
> [...]

Thank you Adam! I should stop using stringof. Even the docs say 
it, I ve just seen that 
https://dlang.org/spec/property.html#stringof.

Probably, I will go for your second solution.

I appreciate it.


More information about the Digitalmars-d-learn mailing list