Is enum static?

Borislav Kosharov boby_dsm at abv.bg
Mon Aug 19 03:18:36 PDT 2013


So if I want to have a string constant it is a lot better to 
declare it as:

static immutable string MY_STRING = "Some string";

Because it won't be duplicated?


More information about the Digitalmars-d-learn mailing list