std::vectorIn this example, we create a vector of integers and use an iterator to loop through each element and print it out to the console. The standard C++ library provides several iterator types, including: - Input iterators: used for reading values from a container - Output iterators: used for writing values to a container - Forward iterators: used for iterating once over a container - Bidirectional iterators: used for iterating forward and backward over a container - Random access iterators: used for jumping to arbitrary positions in a container The package library for C++ iterators is the standard library included in any C++ compiler.numbers{1, 2, 3, 4, 5}; for (auto it = numbers.begin(); it != numbers.end(); ++it) { std::cout << *it << ' '; }