- 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.
推薦閱讀
- Arduino入門基礎教程
- 新型電腦主板關鍵電路維修圖冊
- 現代辦公設備使用與維護
- micro:bit魔法修煉之Mpython初體驗
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- 電腦高級維修及故障排除實戰
- Internet of Things Projects with ESP32
- Istio服務網格技術解析與實踐
- 電腦橫機使用與維修
- 微服務實戰(Dubbox +Spring Boot+Docker)
- 計算機組成技術教程
- Learning Less.js
- 嵌入式系統設計大學教程(第2版)
- Zabbix 4 Network Monitoring
- Applied Deep Learning with Keras