Template:cpp/memory/weak ptr/dsc lock