結果 : pass class method as function pointer c++