Re: class destructors and sub-objects

2013-08-29 Thread Ali Çehreli
On 08/29/2013 06:58 AM, d coder wrote:> Greetings > > I have a question on class destructor method. D documentation for > destructors says: > > "The garbage col­lec­tor is not guar­an­teed to run the de­struc­tor for > all un­ref­er­enced ob­jects. Fur­ther­more, the order in which the garbage >

class destructors and sub-objects

2013-08-29 Thread d coder
Greetings I have a question on class destructor method. D documentation for destructors says: "The garbage col­lec­tor is not guar­an­teed to run the de­struc­tor for all un­ref­er­enced ob­jects. Fur­ther­more, the order in which the garbage col­lec­tor calls de­struc­tors for un­ref­er­ence ob­