#includestd::unordered_map myMap;
myMap.insert({1, 10}); myMap.insert({2, 20}); myMap.insert({3, 30});
std::cout << myMap[2] << std::endl;
myMap.erase(3);This removes the key-value pair with key `3` from the `myMap` unordered_map. The `std::unordered_map` is part of the C++ standard library and can be used by including the `unordered_map` header file.