C++中有四种类型转换操作符,分别是:1.static_cast 2.const_cast 3.dynamic_cast 4.reinterpret_cast.
1、static_cast
2、const_cast
3、dynamic_cast
4、reinterpret_cast