An owning pointer is the perfect garbage collector: it gets rid of the garbage exactly at the moment it goes out of scope.

Reply via email to