SGI STL二级空间适配器源码分析

文章目录 为什么要使用空间适配器 二级空间适配器 源码分析 allocate _S_refill _S_chunk_alloc deallocate 为什么要使用空间适配器 要知道为什么要使用空间适配器,我们先看一下下面这段代码 #include <iostream> using namespace std; template<typename T> class Vector { public
相关文章
相关标签/搜索