結果 : c++ use reference instead of pointer