On Sat, Aug 31, 2013 at 12:44 PM, Andrew Koenig
There's no one correct destruction order for objects participating in a cycle. That's one reason most C++ garbage collectors collect memory but don't run destructors. How does your system deal with this?
I can think of another reason: The whole point of garbage collection is to simulate unbounded memory by recycling memory that is no longer reachable. If you run destructors on objects that are collect as garbage, the simulation is no longer a simulation.
Hi Andrew I think Cpp shouldn't have any gc (smart pointer might be an exception). The most compelling feature of cpp is precise memory layout management. GC can't reach that goal. If we do need gc, why not use other languages? Regards gelin yan
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost