来源:https://stackoverflow.com/questions/21018774/stdshared-ptr-upcasting-to-base-class-best-method 标签 c++ shared-ptr