Top level associative arrays

ANtlord via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 2 07:37:20 PDT 2017


On Tuesday, 2 May 2017 at 12:41:01 UTC, Jacob Carlborg wrote:
>
> Note that when declared as "enum", all places it's referenced, 
> a new associative array will be allocated.

If it is allocated at all places I can move initialization to 
module ctor as says evilrat but how can I make an immutable 
associative array?


More information about the Digitalmars-d-learn mailing list