C++中的dynamic_cast和dynamic_pointer_cast 将一个基类对象指针(或引用)cast到继承类指针,dynamic_cast会根据基类指针是否真正指向继承类指针来做相应处理。
確定! 回上一頁