Temtaime:
enum int a = 5;
writeln(isMutable!(typeof(a)));
Writes true. Why?
If you run this:
enum int a = 5;
pragma(msg, typeof(a));
void main() {}
It prints "int". An int is mutable.
How i can figure out if variable is "enum" constant ?
Why do you need to know that? Bye, bearophile
