AllenNeuralDynamics / AllenNeuralDynamics/harp.device.quac
Modern C++ Syntax Cleanup
Aberta
firmware
- Linguagem predominante
- C#
- Estrelas
- 0
- Forks
- 0
- Merge médio
- 2d 14h
- PRs com merge (30d)
- 8
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.