Phobos addition formal review: std.experimental.allocator
rsw0x via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 13 14:05:27 PDT 2015
On Thursday, 13 August 2015 at 20:56:36 UTC, Tofu Ninja wrote:
> Something I thought about today, if a class or struct is
> allocated by an allocator(say a malloc based allocator) and one
> of its fields is populated with a reference to GCed memory,
> will the GC know to scan the allocator memory to keep that GCed
> memory alive?
http://dlang.org/phobos/core_memory.html#.GC.addRange
More information about the Digitalmars-d
mailing list