On Wednesday, 22 July 2015 at 09:04:49 UTC, Marc Schütz wrote:
On Tuesday, 21 July 2015 at 21:50:35 UTC, rsw0x wrote:
On Tuesday, 21 July 2015 at 21:44:07 UTC, rsw0x wrote:
[...]

addendum:
http://dlang.org/garbage.html

[...]

[...]

I believe this implies that it would *not* keep the object alive.

Sorry for the confusion/noise.

But as long as the original pointer is still on the stack, that one _will_ keep the object alive. It is only a problem if all pointers to a GC managed object are stored in places the GC isn't informed about.

correct, I managed to confuse myself :o)

Reply via email to