摘要:
C++提供了四个转换运算符:const_cast <new_type> (expression)static_cast <new_type> (expression)reinterpret_cast <new_type> (expression)dynamic_cast <new_type> (expression)The traditional type-casting equivalents to the abover expressions would be:(new_type) expressionnew_type (expression 阅读全文