Pass a member function as argument error: “reference to non-static member function must be called”

前端 未结 0 1748
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-28 01:49

I am new to C++ and would like to know how can a member function of a class be passed to another function which takes a function pointer as a parameter. For the code I tried, I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题