Hello,I want to represent a tree node in D. I think if struct works for it:
struct Node { Node* l, r; }But can I use pointers? Will GC treat them properly? I'm leaning to think it should be okay.
Hello,I want to represent a tree node in D. I think if struct works for it:
struct Node { Node* l, r; }But can I use pointers? Will GC treat them properly? I'm leaning to think it should be okay.