- 博客(2)
- 资源 (1)
- 收藏
- 关注
转载 C++标准转换运算符reinterpret_cast
转自:https://www.cnblogs.com/codingmengmeng/p/7650885.html reinterpret_cast<new_type> (expression) reinterpret_cast运算符是用来处理无关类型之间的转换;它会产生一个新的值,这个值会有与原始参数(expression)有完全相同的比特位。 什么是无关类型?我没有弄清楚,没有找到好的文档来说明类型之间到底都有些什么关系(除了类的继承以外)。后半句倒是看出了reinterpret_cas
2020-08-10 20:17:57 528
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人