岩倉 澪:
However, if enum implies allocation at the usage point for strings,
There are two ways to see if something allocates: there is a compiler switch, and an annotation:
void foo() @nogc { // Your code here }If the compiler doesn't have a bug it will complain if you put something that allocates inside that function.
Bye, bearophile