我想从上层指针转换为低级类,即从基类指针转换为派生类指针.
我应该使用"Dynamic_cast"还是"reinterpret_cast"?请指教
c++ polymorphism casting
c++ ×1
casting ×1
polymorphism ×1