On Sunday, 8 March 2020 at 20:28:01 UTC, Robert M. Münch wrote:
You can get rid of the enum [...]
That depends on your use case. You will need enum if you want to use the value at compile time (e.g. when using it as a template parameter). Otherwise a normal string will suffice.
und the static and it will work too.
Yesh, I forgot about the old implicit static foreach loop.