![Modern C++ #2】 C++ 轉型casting 整理(C-style cast, static_cast, dynamic_cast, reinterpret_cast, const_cast) - 嗡嗡的隨手筆記 Modern C++ #2】 C++ 轉型casting 整理(C-style cast, static_cast, dynamic_cast, reinterpret_cast, const_cast) - 嗡嗡的隨手筆記](https://www.wongwonggoods.com/wp-content/uploads/2022/10/%E6%88%AA%E5%9C%96-2022-10-23-%E4%B8%8A%E5%8D%882.30.29.png)
Modern C++ #2】 C++ 轉型casting 整理(C-style cast, static_cast, dynamic_cast, reinterpret_cast, const_cast) - 嗡嗡的隨手筆記
![Objective view point: casting in C++: bringing safety and smartness to your programs: XRDS: Crossroads, The ACM Magazine for Students: Vol 3, No 1 Objective view point: casting in C++: bringing safety and smartness to your programs: XRDS: Crossroads, The ACM Magazine for Students: Vol 3, No 1](https://dl.acm.org/cms/asset/b094ce16-ab3e-4a1f-b2e4-2421955d4b1a/332148.332155.fp.png)
Objective view point: casting in C++: bringing safety and smartness to your programs: XRDS: Crossroads, The ACM Magazine for Students: Vol 3, No 1
obj.lifetime] Use static_cast instead of C-style cast expression by blackteahamburger · Pull Request #5887 · cplusplus/draft · GitHub
![c++ - When should static_cast, dynamic_cast, const_cast, and reinterpret_cast be used? - Stack Overflow c++ - When should static_cast, dynamic_cast, const_cast, and reinterpret_cast be used? - Stack Overflow](https://i.stack.imgur.com/OEObU.png)