- Hands-On Embedded Programming with C++17
- Maya Posch
- 83字
- 2021-08-20 10:20:47
Runtime type information
The main purpose of RTTI is to allow the use of safe typecasting, like with the dynamic_cast<> operator. As RTTI involves storing additional information for each polymorphic class, it has a certain amount of overhead.
This is a runtime feature, as the name gives away, and thus can be disabled if you don't need the features it provides. Disabling RTTI is common practice on some embedded platforms, especially as it is rarely used on low-resource platforms, such as 8-bit MCUs.
推薦閱讀
- 筆記本電腦使用、維護與故障排除實戰(zhàn)
- Learning Cocos2d-x Game Development
- Learning AngularJS Animations
- INSTANT Wijmo Widgets How-to
- 電腦常見故障現(xiàn)場處理
- 計算機維修與維護技術速成
- CC2530單片機技術與應用
- 單片機系統(tǒng)設計與開發(fā)教程
- 計算機組裝維修與外設配置(高等職業(yè)院校教改示范教材·計算機系列)
- VMware Workstation:No Experience Necessary
- Istio服務網格技術解析與實踐
- The Artificial Intelligence Infrastructure Workshop
- 微控制器的應用
- Deep Learning with Keras
- Corona SDK Mobile Game Development:Beginner's Guide