AerospaceNU / AerospaceNU/stm32-avionics
Prefer enum classes in C++
Đang mở
- Ngôn ngữ chính
- C
- Star
- 5
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.