2) Can you setup memory attributes for static array using core.memory functions, say, to force GC not to scan this portion of memory during collection?

I do not understand what you mean here.

I mean static uint setAttr(in void* p, uint a) from core.memory and enum BlkAttr.NO_SCAN;

Can I use here cast(void*)arr.ptr and what effect it will cause on array of class objects?

Reply via email to