1, static_cast和reinterpret_cast (reinterpret_cast更像是C以前的强制转换)
C++中的static_cast一般执行非多态的转换;
======================================================================
3, dynamic_cast把基类指针类型转换成子类的类型
CBase* pBase = NULL;
pBase = new CBase();
CDerived* pDerived = dynamic_cast<CDerived*>(pBase);
总结:上诉的转换将原先的C强制转换分的更细了,减少出错的概率。