AllenNeuralDynamics / AllenNeuralDynamics/harp.device.quac

Modern C++ Syntax Cleanup

Đang mở
#75 0 bình luận 0 reaction 1 người được giao Được @Poofjunior nhận Xem trên GitHub
firmware
Ngôn ngữ chính
C#
Star
0
Fork
0
Merge trung bình
2 ngày 14 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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.

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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.