gecko-dev/tools/clang-tidy/test/modernize-use-auto.cpp

11 строки
234 B
C++

#include <vector>
void func() {
int val = 42;
std::vector<int> my_container;
for (std::vector<int>::iterator I = my_container.begin(),
E = my_container.end();
I != E;
++I) {
}
}