1#include <iostream>
2#include <map>
3
4int main()
5{
6 std::map<std::string, int> myMap;
7
8 myMap["one"] = 1;
9 myMap["two"] = 2;
10 myMap["three"] = 3;
11
12 for ( const auto &myPair : myMap ) {
13 std::cout << myPair.first << "\n";
14 }
15}
16