is it possible to down cast from parent class pointer to child class pointer inside a second child class?

后端 未结 0 1822
慢半拍i
慢半拍i 2021-02-10 09:52

so lets say i have three classes a,b and c and Bothe b and c are children of a , is there a way to down cast from a pointer of a to pointer of b inside of class c . hope i expla

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