📜  打印标准映射 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:51.036000             🧑  作者: Mango

代码示例1
for(auto it = myMap.cbegin(); it != myMap.cend(); ++it)
{
  std::cout << it->first << " " << it->second << std::endl;
}