Atela

导航

2011年10月29日 #

stl_vector.h

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

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

2011年10月25日 #

type_traits.h

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

posted @ 2011-10-25 16:34 Atela 阅读(1779) 评论(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 阅读(794) 评论(0) 推荐(0) 编辑

2011年10月17日 #

stl_uninitialized.h

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

posted @ 2011-10-17 16:46 Atela 阅读(464) 评论(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 阅读(1332) 评论(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 阅读(510) 评论(0) 推荐(0) 编辑

doxygen+graphviz

摘要: 发现用这个看源码实在太方便了 http://www.graphviz.org/Download..php step1: 指定doxygen.exe的路径,我的C:/Program Files/dox... 阅读全文

posted @ 2011-10-17 01:50 Atela 阅读(1384) 评论(0) 推荐(0) 编辑

2011年10月4日 #

什么是数学(一)

摘要: 一、数学归纳法 A1、A2、A3… a) 如果r是任意正整数,且命题Ar已知是真,则可推出命题Ar+1也真 b)A1为真 则序列的所有命题为真 分别用数学归纳法和中学的方法推一下等差等比公式,再可证... 阅读全文

posted @ 2011-10-04 02:20 Atela 阅读(582) 评论(0) 推荐(0) 编辑

2011年10月2日 #

sal.h

摘要: sal.h provides a set of annotations to describe how a function uses its parameters, for example, the... 阅读全文

posted @ 2011-10-02 19:26 Atela 阅读(2888) 评论(0) 推荐(0) 编辑

2011年10月1日 #

assert、ASSERT/VERIFY/TRACE

摘要: 1.#运算符.将其后面的宏参数进行字符串化操作(Stringfication),简单说就是在对它所引用的宏变量通过替换后在其左右各加上一个双引号。#define _STR(s) #s 2.##运算符用... 阅读全文

posted @ 2011-10-01 19:14 Atela 阅读(1556) 评论(0) 推荐(0) 编辑