static_cast和reinterpret_cast的区别 2020-07-23 本文已影响0人 徐振杰 static_cast 主要处理的是相关类型的转换,如double->int reinterpret_cast主要处理的是不相关类型的转换,如int->double*