Destructor nonsense on dlang.org
Alex Rønne Petersen
alex at lycus.org
Thu May 24 05:21:01 PDT 2012
Hi,
http://dlang.org/class.html#Destructor
"The garbage collector is not guaranteed to run the destructor for all
unreferenced objects."
What the *hell*? So resources are allowed to arbitrarily leak and the
programmer has to actually expect this to happen?
I really, really hope that this is a documentation error or early design
decision that has since been rectified but with lack of documentation
updates.
--
Alex Rønne Petersen
alex at lycus.org
http://lycus.org
More information about the Digitalmars-d
mailing list