shared array?

Prudence via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 11 07:53:59 PDT 2015


On Friday, 11 September 2015 at 07:41:10 UTC, Kagamin wrote:
> I get only one error:
> Error: non-shared method std.container.array.Array!(void 
> delegate()).Array.~this is not callable using a shared object.
>
> It will try to destruct the array on program termination, but 
> it requires the destructor to be aware of the shared context.

But in this case it is static, so why does it matter? Do you have 
any ideas how to wrap it or fix this?


More information about the Digitalmars-d-learn mailing list