enum str = "abc"; vs string str = "abc";

Walter Bright newshound2 at digitalmars.com
Thu Jan 17 06:00:09 UTC 2019


That's true for arrays, but for strings the compiler will emit only one string, 
and everything else will refer to that.


More information about the Digitalmars-d mailing list