Comment Comment by RicardoLuis0 if your data's sequential, creating an iterator in C++ is as simple as returning a begin and end pointer, and will be optimized away by any level other than O0https://godbolt.org/z/WEjzEr5j4 parent RicardoLuis0 3 years ago
https://godbolt.org/z/WEjzEr5j4