C++:std::map的遍历


for
(auto &kv : myMap) { count<<kv.first<<" has value "<<kv.second<<endl; }
原文地址:https://www.cnblogs.com/2018shawn/p/11466590.html