arduino / arduino/ArduinoCore-API
Use modern C++ casts instead of current C-style casting approaches
- 主要言語
- C++
- スター
- 306
- フォーク
- 150
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Description
Update various API implementations that use c-style pointer casting and other c-style approaches to use modern C++ casts.
### Is this a breaking change?
The function signatures would remain unchanged
The behavior of the functions would be identical
User code that calls these functions wouldn't need any modifications
### Additional information
Modernizes the code base. Compilers will optimize these the same, but coding standards favor using C++ cast in C++ code.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、C-style pointer casts またはその他の C-style casting approaches を使用している API 実装を見つけます。関連する casts を modern C++ casts に置き換え、function signatures と動作を維持したうえで、実装が引き続きビルドでき、同一の動作をすることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- api
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100