1. 配置器分为一级配置器和二级配置器,默认为二级配置器,二级配置器处理不了的大空间丢给一级配置器
2. list和vector区别:
a.vector可能因为元素变化而导致迭代器失效,list不会
b.list只能使用自己的成员函数sort,不能使用stl算法sort
c.list是双向环形链表,而vector只是线性的存储空间。
标签:sort,知识点,二级,stl,配置,list,vector
来源: https://www.cnblogs.com/hit-saber/p/15969061.html