When a derived class overrides a virtual member, that member is called even when an instance of that class is being accessed as an instance of the base class.

 
  • 当派生类重写某个虚拟成员时,即使该派生类的实例被当作基类的实例访问,也会调用该成员。
今日热词
目录 附录 查词历史