isMutable doesn't work with enum ?

Temtaime temtaime at gmail.com
Sun Jun 2 15:14:34 PDT 2013


Hi!

	enum int a = 5;
	writeln(isMutable!(typeof(a)));

Writes true. Why? How i can figure out if variable is "enum" 
constant ?
Thanks.
Regards.


More information about the Digitalmars-d-learn mailing list