AerospaceNU / AerospaceNU/stm32-avionics
Prefer enum classes in C++
オープン
- 主要言語
- C
- スター
- 5
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Since all our system code is now C++, we should use enum classes where possible. This means converting all instances of `typedef enum {} name_e` to `enum class Name {}`. All the dumb typedefing we still do is arguably cruft left over from the legacy C code. This should be a zero-cost change from a compiled binary size POV.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。