STL List::sort() 解析

转载地址:http://jiguiyuan.blog.163.com/blog/static/4336137820122133373886/ 看侯捷翻译那本《STL源码剖析》中list内置sort的算法,书中注释说是quick sort,看了半天没看明白, 而后就把代码敲出来运行看看,上面的源码以下: template <class T, class Alloc> template <class
相关文章
相关标签/搜索