結果 : pass smart pointer to function