To GC or Not To GC in std.container.*

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 20 13:26:47 PST 2015


What's the policy on using GC or not in std.container.* ?

- std.container.Array uses malloc for its allocation but
- RedBlackTree.allocate() returns a: new RBNode!Elem*

Is this because RBNode* should be reachable outside of 
RedBlackTree or is this a todo?


More information about the Digitalmars-d-learn mailing list