dtor_ptr's dtor needs to delete the contained ptr now as it's not derived from unique_ptr anymore