結果 : c++ create shared pointer from object