摘要:vector的一个构造函数和assign、insert提供了两个函数版本1.count2.迭代器范围typedef typename _Is_integer<_InputIterator>::_Int...
阅读全文
摘要:/*对不能萃取自定义class是否有trivial default ctor、assignment operator、trivial dtor的大部分编译器可在本文件中实现该自定义class的__ty...
阅读全文
摘要:/* NOTE: This is an internal header file, included by other STL headers. * You should not attempt ...
阅读全文
摘要:需要时#include <memory> 1.initialized_copy对应高层函数copy(); uninitialized_fill 对应高层函数fill() uninitialize...
阅读全文
摘要:#ifndef __SGI_STL_INTERNAL_ALLOC_H#define __SGI_STL_INTERNAL_ALLOC_H#ifdef __SUNPRO_CC# define __PR...
阅读全文
摘要:#ifndef __SGI_STL_INTERNAL_CONSTRUCT_H#define __SGI_STL_INTERNAL_CONSTRUCT_H#include <new.h>__STL_BE...
阅读全文
摘要:发现用这个看源码实在太方便了 http://www.graphviz.org/Download..php step1: 指定doxygen.exe的路径,我的C:/Program Files/dox...
阅读全文
摘要:一、数学归纳法 A1、A2、A3… a) 如果r是任意正整数,且命题Ar已知是真,则可推出命题Ar+1也真 b)A1为真 则序列的所有命题为真 分别用数学归纳法和中学的方法推一下等差等比公式,再可证...
阅读全文
摘要:sal.h provides a set of annotations to describe how a function uses its parameters, for example, the...
阅读全文
摘要:1.#运算符.将其后面的宏参数进行字符串化操作(Stringfication),简单说就是在对它所引用的宏变量通过替换后在其左右各加上一个双引号。#define _STR(s) #s 2.##运算符用...
阅读全文