dtScopedDelete

A simple helper class used to delete an array when it goes out of scope.