摘要: 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 阅读全文
posted @ 2012-09-12 14:59 yaozhaoyz 阅读(147) 评论(0) 推荐(0) 编辑