Template:cpp/memory/shared ptr/dsc pointer cast