C++是不是类型安全带的?

  • 不是,两个不同类型的指针之间可以强制类型转换(reinterpret_cast)。

猜你喜欢

转载自www.cnblogs.com/dingou/p/11627553.html
今日推荐