Using enum constant from different modules

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 10 23:17:09 PDT 2014


On 10/07/14 23:48, "Marc Schütz" <schuetzm at gmx.net>" wrote:

> Try other immutable variables (int arrays, structs), and non-immutable
> ones. They will probably behave differently.

String literals are put directly in the executable and therefore should 
be the same. Array literals are dynamically allocated.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list