Accessing Derived class function through Base class Pointer without dynamic casting

前端 未结 0 436
迷失自我
迷失自我 2020-12-06 16:47

I am trying to find a way to access a function of the derived class through the base pointer without dynamic casting. I have tried the visitor pattern as suggested in this p

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