Atela

导航

随笔分类 -  STL

stl_vector.h
摘要:vector的一个构造函数和assign、insert提供了两个函数版本1.count2.迭代器范围typedef typename _Is_integer<_InputIterator>::_Int... 阅读全文

posted @ 2011-10-29 23:52 Atela 阅读(1428) 评论(0) 推荐(0)

type_traits.h
摘要:/*对不能萃取自定义class是否有trivial default ctor、assignment operator、trivial dtor的大部分编译器可在本文件中实现该自定义class的__ty... 阅读全文

posted @ 2011-10-25 16:34 Atela 阅读(1789) 评论(0) 推荐(0)

stl_iterator_base.h
摘要:/* NOTE: This is an internal header file, included by other STL headers. * You should not attempt ... 阅读全文

posted @ 2011-10-25 15:07 Atela 阅读(821) 评论(0) 推荐(0)

stl_uninitialized.h
摘要:需要时#include <memory> 1.initialized_copy对应高层函数copy(); uninitialized_fill 对应高层函数fill() uninitialize... 阅读全文

posted @ 2011-10-17 16:46 Atela 阅读(488) 评论(0) 推荐(0)

stl_alloc.h
摘要:#ifndef __SGI_STL_INTERNAL_ALLOC_H#define __SGI_STL_INTERNAL_ALLOC_H#ifdef __SUNPRO_CC# define __PR... 阅读全文

posted @ 2011-10-17 15:26 Atela 阅读(1347) 评论(0) 推荐(0)

stl_construct.h
摘要:#ifndef __SGI_STL_INTERNAL_CONSTRUCT_H#define __SGI_STL_INTERNAL_CONSTRUCT_H#include <new.h>__STL_BE... 阅读全文

posted @ 2011-10-17 02:07 Atela 阅读(522) 评论(0) 推荐(0)