結果 : c++ passing shared pointer to function