Replaced auto_ptr for good