std::vector<int> primes = {2, 3, 5, 7, 11, 13}; for(auto prime : primes) { std::cout << prime << std::endl; }