2 ms·
Memory is a resource, too, and C++-style destructors do manage it, sometimes. Destructors do not free the memory of the object being destroyed, but they can fr
by Someone 7y ago
Memory is a resource, too, and C++-style destructors do manage it, sometimes.
Destructors do not free the memory of the object being destroyed, but they can free memory that its fields point to.