Re: shared associative array initialization

2012-05-13 Thread Era Scarecrow
On Sunday, 13 May 2012 at 16:25:42 UTC, japplegame wrote: I have no idea how to simple initialize shared associative array. This code compiled but causing access violation when running. shared uint[char] arr; shared static this() { // next expression seems wrong, because // arr is process

shared associative array initialization

2012-05-13 Thread japplegame
I have no idea how to simple initialize shared associative array. This code compiled but causing access violation when running. shared uint[char] arr; shared static this() { // next expression seems wrong, because // arr is process related and ['a':1, 'b':2] is thread related // probably,