2015年7月22日
摘要: static_cast, dynamic_cast, reinterpret_cast, const_cast区别比较(使用vs2010所带的编译器) 转载请注明来源http://www.cnblogs.com/jerry19880126/隐式转换(implicit conversion)short... 阅读全文
posted @ 2015-07-22 11:23 JaneYu 阅读(251) 评论(0) 推荐(0) 编辑
摘要: C/C++中volatile关键字详解1. 为什么用volatile? C/C++ 中的 volatile 关键字和 const 对应,用来修饰变量,通常用于建立语言级别的 memory barrier。这是 BS 在 "The C++ Programming Language" 对 volatil... 阅读全文
posted @ 2015-07-22 10:59 JaneYu 阅读(198) 评论(0) 推荐(0) 编辑