News for hackers. Stuff that matters.
Re:Rule of Zero (C++) by pjmlp on Friday November 23, 2012 @12:28PM (#4822941)
> Most (all?) of these cannot cope with trees of objects

You can if all "destructors" take care of also closing the internal resources, thus initiating a cascade process of the object owned by them.

But you're right, this leaves the responsibility in the user's side.

> I would give an arm and a leg for RAII on the JVM.

At least they finally added the "using" concept.

In a few more versions maybe they get to add values.

There are no comments on this comment yet.