Phobos addition formal review: std.experimental.allocator

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 13 13:56:34 PDT 2015


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?




More information about the Digitalmars-d mailing list