2019年2月19日

C++中,有哪4种与类型转换相关的关键字?各有什么特点?应该在什么场合下使用?

摘要: 转:https://www.cnblogs.com/mjiang2017/p/9358032.html C++中,四个与类型转换相关的关键字:static_cast、const_cast、reinterpret_cast、dynamic_cast。 static_cast 特点:静态转换,在编译处理 阅读全文

posted @ 2019-02-19 11:11 zkfopen 阅读(305) 评论(0) 推荐(0) 编辑

导航