AllenNeuralDynamics / AllenNeuralDynamics/harp.device.quac
Modern C++ Syntax Cleanup
Aperta
firmware
- Lingua principale
- C#
- Stelle
- 0
- Fork
- 0
- Merge medio
- 2g 14h
- PR unite (30g)
- 8
Descrizione
Since we're using C++23, let's upgrade our for loop iterations for readability. (These changes don't impact performance.)
* Use `iota` (C++20) for range-based for-loops that are purely index based
* Use `enumerate` (C++23) for range based for-loops that are both index an object based.
* Use `span` (C++20) for passing around range-based iteration.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.