|
Util--
1.1
|
#include <utilmm/memory/dynamic_pool.hh>
Public Types | |
| typedef boost::uint32_t | size_t |
Public Member Functions | |
| dynamic_pool () | |
| ~dynamic_pool () | |
| void * | allocate (size_t size) |
| void | deallocate (void *vbuffer) |
Friends | |
| template<typename T > | |
| class | dynamic_auto |
A memory_pool is a way to handle allocation and reallocation of fixed-length memory items, but with the ability to change the size at runtime. It is designed to be used for small classes with subclasses
NEVER put the pointer returned by dynamic_pool into an auto_ptr. Use dynamic_ptr instead.
| typedef boost::uint32_t utilmm::pools::dynamic_pool::size_t |
| utilmm::pools::dynamic_pool::dynamic_pool | ( | ) |
| utilmm::pools::dynamic_pool::~dynamic_pool | ( | ) |
| void* utilmm::pools::dynamic_pool::allocate | ( | size_t | size | ) |
| void utilmm::pools::dynamic_pool::deallocate | ( | void * | vbuffer | ) |
|
friend |
1.8.6