On Saturday, 30 October 2021 at 20:19:58 UTC, Imperatorn wrote:https://dlang.org/spec/garbage.html#pointers_and_gcWhat test could be written to verify the behaviour?Assuming the GC was moving?
If the GC were moving, it would also have to move the pointers you took to AA elements. You would never get stale pointers in any event.