|
dl
|
基于引用计数的内存池 更多...
#include <list>#include <cassert>#include <functional>#include <cstdlib>#include "io/dl_log.h"#include "math/dl_math.h"类 | |
| struct | dl::GcRefInfo |
| class | dl::GC< T > |
| 引用计数对象,通过get_gc函数创建 更多... | |
| class | dl::PoolList< T > |
| 内存池数据 更多... | |
| class | dl::MemoryPool |
| 内存池 更多... | |
命名空间 | |
| namespace | dl |
函数 | |
| template<typename T, typename... Args> | |
| auto | dl::get_gc (Args &&...args) |
| 定义一个GC变量(引用计数内存池) | |
变量 | |
| constexpr bool | OUTPUT_DEBUG = true |
| constexpr bool | OUTPUT_ADD = true |
| constexpr bool | OUTPUT_MOVE = false |
| constexpr bool | OUTPUT_STACK = false |
基于引用计数的内存池
在文件 dl_memory_pool.h 中定义.
|
constexpr |
在文件 dl_memory_pool.h 第 32 行定义.
|
constexpr |
在文件 dl_memory_pool.h 第 31 行定义.
|
constexpr |
在文件 dl_memory_pool.h 第 33 行定义.
|
constexpr |
在文件 dl_memory_pool.h 第 34 行定义.