Using the static_cast or dynamic_cast type conversion operators will ensure that pointers are properly converted from one type to another.
使用static_cast或者dynamic_cast类型转换运算符会确保指针正确的从一个类型转换为另一个。