摘要: C语言的强制类型转换的功能更通用,即它具有static_cast, const_cast和reinterpret_cast相似的行为。 但是, static_cast只能应用于明确定义了的类型转换,并且不能用于底层const(lower const)的转换。 const_cast只能改变底层cons 阅读全文
posted @ 2018-05-26 22:10 Demon90s 阅读(353) 评论(0) 推荐(0)