#include#include
#includeThis example is very similar to the first one, except that we use the auto keyword to create the iterator. This is a shorthand way and makes the code more readable. Package/library: The std::map cbegin() function is part of the C++ Standard Library, which is included in the standard C++ library.#include