设为首页 加入收藏

TOP

5.12.4 Explicit Conversions
2013-10-07 15:25:35 来源: 作者: 【 】 浏览:68
Tags:5.12.4 Explicit Conversions

An explicit conversion is spoken of as a cast and is supported by the following set of named cast operators: static_cast, dynamic_cast, const_cast, and reinterpret_cast.

显式转换,又叫强制类型转换,有的书直接称之为“强制”(cast)。

Although necessary at times, casts are inherently dangerous constructs.

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇2.1.1 Integral Types (1) 下一篇5.12 Type Conversions

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Java后端面试实习自 (2025-12-25 09:24:21)
·Java LTS版本有哪些 (2025-12-25 09:24:18)
·2025年,JAVA还值得 (2025-12-25 09:24:16)
·用 C 语言或者限制使 (2025-12-25 08:50:05)
·C++构造shared_ptr为 (2025-12-25 08:50:01)