Embedded C++
外观
Embedded C++是日本電子大廠NEC, Hitachi, Fujitsu,以及 Toshiba 所使用的內嵌式程式語言。
Embedded C++ 是C++的子集合。有某些C++的特性被移除:
- 多重繼承(Multiple inheritance)
- 虛擬基礎類別(Virtual base classes)
- 執行時期型別資訊(Run-time type information,即 typeid)
- 新式C++轉型(static_cast, dynamic_cast, reinterpret_cast 和 const_cast)
- mutable 型別
- 名稱空間(Namespaces)
- 例外(Exceptions)
- 樣板(Templates)
這套語言並不被其他的 C++專家看好。特別是C++之父比雅尼·史特勞斯特魯普 稱,"To the best of my knowledge EC++ is dead (2004), and if it isn't it ought to be."[1] 事實上,Embedded C++的官方網站自2002年以後就沒再更新了。
注釋
- ^ What do you think of EC++?. Bjarne Stroustrup's FAQ.
外部連結
- Official Embedded C++ Website
- Background and Objectives of the Embedded C++ Specification Development
- Embedded C++: An Overview,by P.J. Plauger, Embedded Systems Programming, December 1997