Also, in the face of possible exceptions, it is much cleaner to use scope than try..catch..finally: http://www.digitalmars.com/d/exception-safe.html