Template:cpp/memory/weak ptr/dsc destructor