list
文章平均质量分 80
dydm_13128
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
STL中queue,list,vector频繁访问效率
针对STL中的queue,list,vector频繁访问,即插入(尾部)与取出(头部)操作时的效率进行了对比,从时间消耗上来看,queue最少,list与vector消耗相对较大,二者之间差别不大。附上类似分析一篇 :http://blog.youkuaiyun.com/lsldd/article/details/7857388。本文代码如下:/* * msg.h * * Author:原创 2014-03-16 14:50:22 · 9497 阅读 · 1 评论 -
类模板与特化
直接上代码,详见代码中注释:/* * list.h * * Created on: * Author: wdmcel */#ifndef _LIST_H_#define _LIST_H_#include #include using namespace std;class test_t //定义了一个原创 2014-03-18 16:47:46 · 615 阅读 · 0 评论
分享