結果 : c++ passing shared_ptr to function