std.container.Array

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 3 11:20:11 PDT 2014


On Wednesday, 3 September 2014 at 17:05:26 UTC, monarch_dodra 
wrote:
> Well, for starters, probably simply because we didn't take the 
> right precautions to make it work. It should. I'll look into it.
>
> That said, keep in mind that Array only manages *its* objects. 
> But when an Array has pointers, then it *will* tell the GC it 
> holds indirections, and that it should be scanned in regards to 
> the cleanup of *other* objects. Think Array!string.
Thanks, I thought it might be an oversight.


More information about the Digitalmars-d-learn mailing list