GC for noobs

Tobias Pankrath tobias at pankrath.net
Thu Feb 27 02:40:14 PST 2014


Szymon Gatner wrote:
>
> Parent-child in the sense of object graph. I did read the spec 
> when I started to notice crashes. I must say that it really 
> terrified me to my very bones. I always though that 
> higher-level memory management environments would give more and 
> not less guarantees.
>
> Anyway, I really need to learn how to design the code for CG 
> and undefined d-tor calls. Any pointers would be welcome.

I think that will depend on your use case. Why do you need to 
refer to child objects in your destructor?


More information about the Digitalmars-d-learn mailing list