Is there a way to call varying function of member object based on template variable

前端 未结 0 408
旧时难觅i
旧时难觅i 2021-01-18 01:17

I have the following code:

class Person {
  void func1() {
    obj_.function1();
  }

  void func2() {
    obj_.function2();
  }

  void func3() {
    obj_.fu         


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