以下C++代码的输出结果是什么?
#include #include
std::map getMap() {
std::map m = {{1, "one"}, {2, "two"}, {3, "three"}};
return m;}
int main() {
std::map m = getMap();
m.erase(2);
for (const auto& p : m) {
std::cout << p.second << ' ';
}
return 0;}