Is there an equivalent to the range-based enumerate loop from python in C++? I would imagine something like this.
enumerate
enumerateLoop (auto counter, a
This question is tagged c++14, but I would like to post an answer for c++20 because there's a really beautiful solution that I posted here