using for each loop with multiple vectors in C++ code example Example: iterate over 2 vectors c++ for (auto& [a, b] : zip(containerA, containerB)) { a = b; }