結果 : c++ convert pointer to shared pointer