Is there a way to pass a void function with any type and amount of arguments as an argument in a method and store it in a data member? (C++)

前端 未结 0 369
眼角桃花
眼角桃花 2021-01-06 20:39

I ran into a problem while passing a function as a parameter in a method. My problem is that I want to be able to pass any void function with any type and amount of argument

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