結果 : make a function static c++