![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
STL
文章平均质量分 78
hy0736
这个作者很懒,什么都没留下…
展开
-
Stl_alloc.h
/* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereb原创 2012-07-06 15:20:02 · 534 阅读 · 0 评论 -
_type_traits
#ifndef MY_TYPE_TRAITS_H #define MY_TYPE_TRAITS_H struct my_true_type { }; struct my_false_type { }; template struct my_type_traits { typedef my_false_type has_trivial_destructo转载 2012-07-03 22:02:41 · 429 阅读 · 0 评论 -
STL源码之迭代器
STL源码之迭代器 【本文由天地任我游总结,转载请包含链接:http://houjixin.blog.163.com/】 1、迭代器是什么?为什么要引入迭代器? STL是将容器与算法分离开的,我们用到的类模板和函数模板即是用于实现这两个东西,其中类模板用于实现容器,函数模板用于实现算法,在使用的时候需要一个将两者联系起来的东西,这个东西就是迭代器。 例如段代码1所示:算法fin转载 2012-11-26 18:05:34 · 653 阅读 · 0 评论 -
vs2008安装STL-5.2.1以及boost_1_46_1
vs2008安装STL-5.2.1以及boost_1_46_1(有图有真相) 1,下载好软件包 "STLport_5.2.1.tar.bz2" 以及 "boost_1_46_1.zip"。 2,安装STL: 1)将STLport软件包解压缩到D盘。如图一: 2)运行VS2008工具的命令行提示符,如图二: 3)进入到STLport目录,如运行命令:" cd d:/STLpo转载 2012-11-29 14:46:34 · 1014 阅读 · 0 评论