C++ STL unordered_map
时间:2019-05-23 15:23:10
收藏:0
阅读:104
容器unordered_map<key type,value tyep>m;
迭代器unordered_map<key type,value tyep>::iterator it;
关于erase 函数,可以删除一个iterator位置的元素(1),可以删除从first迭代器到last迭代器的元素(2),可以删除某个key对应的元素(3);
原文:https://www.cnblogs.com/joelwang/p/10911906.html
评论(0)