A fixed-size memory pool implementation.
More...
#include <spot/misc/fixpool.hh>
|
| | fixed_size_pool (size_t size) |
| | Create a pool allocating objects of size bytes.
|
| |
| | ~fixed_size_pool () |
| | Free any memory allocated by this pool.
|
| |
| void * | allocate () |
| | Allocate size bytes of memory.
|
| |
| void | deallocate (void *ptr) |
| | Recycle size bytes of memory.
|
| |
template<
pool_type Kind>
class spot::fixed_size_pool< Kind >
A fixed-size memory pool implementation.
◆ fixed_size_pool()
Create a pool allocating objects of size bytes.
◆ ~fixed_size_pool()
Free any memory allocated by this pool.
◆ allocate()
Allocate size bytes of memory.
The documentation for this class was generated from the following file: