constant expression

Marc Schütz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 24 02:43:27 PST 2016


On Tuesday, 23 February 2016 at 08:00:24 UTC, Nicholas Wilson 
wrote:
> Silly question. Why is this necessary?

Due to a problem with the implementation, associative arrays 
currently can't be initialized statically. We hope it will 
eventually get fixed, but until then, you have to use module 
constructors as a workaround.


More information about the Digitalmars-d-learn mailing list