pool_allocator接口:头文件为<boost/pool/pool_allocator.hpp>,主要与STL的容器一起使用,可用于代替STL中的allocator。 示例代码如下: 1 vector<int, pool_allocator<int> > vctTemp; 2 list<char,fast_pool_allocator<char> > lstTemp; 其中,pool_allocator的内部实现调用了ordered_malloc和ordered_free,可以满足...
Memory pool allocator. C / C++. Optimized for quick alloc, realloc, free. The allocated memory is always16 bytes aligned. You can use DKMalloc for your project. Build DKMalloc as a shared library / DLL for C projects that can not use C++. ...