shared array?

Prudence via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 10 21:28:51 PDT 2015


On Friday, 11 September 2015 at 00:50:15 UTC, Adam D. Ruppe wrote:
> On Friday, 11 September 2015 at 00:48:28 UTC, Prudence wrote:
>> static Array!(bool delegate(int, WPARAM, LPARAM)) callbacks;
>
> Try just using a regular array instead of the library Array.
>
>
> static bool delegate(int, WPARAM, LPARAM)[] callbacks;
>
> my guess is the Array library thing isn't marked as shared 
> internally.

I thought about that but then I have to rely on the GC for some 
simple things. Doesn't seem like the right way to go.



More information about the Digitalmars-d-learn mailing list