Is it possible to overload (shadow) a virtual function?

前端 未结 0 1049
时光取名叫无心
时光取名叫无心 2021-01-18 20:09

I would like to shadow the virtual function of a base class, and introduce a new virtual function with the same name and same signature, except for the return type.

S

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