c++map数组大小和交换

size(); //返回容器中元素的数目
empty(); //判断容器是否为空
swap(st); //交换两个集合容器

跟set一样,没区别

posted @ 2022-05-11 21:56  纸包鱼  阅读(103)  评论(0)    收藏  举报