結果 : c++ use function as template parameter