跳转到内容

Embedded C++

维基百科,自由的百科全书

这是本页的一个历史版本,由Isnow留言 | 贡献2015年1月22日 (四) 20:40 (比雅尼·斯特劳斯特鲁普)编辑。这可能和当前版本存在着巨大的差异。

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年以後就沒再更新了。

注釋

  1. ^ What do you think of EC++?. Bjarne Stroustrup's FAQ. 

外部連結