arduino / arduino/ArduinoCore-API
Use modern C++ casts instead of current C-style casting approaches
- Lingua principale
- C++
- Stelle
- 306
- Fork
- 150
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia individuando le implementazioni dell'API che utilizzano C-style pointer casts o altri C-style casting approaches. Sostituisci i casts pertinenti con modern C++ casts, preservando le function signatures e il comportamento, quindi verifica che le implementazioni continuino a compilarsi e a comportarsi in modo identico.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- api
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100