来源:https://stackoverflow.com/questions/36063911/c-inheritance-derived-class-pointer-to-a-base-class-invokes-derived-class-met 标签 c++ pointers inheritance subclass