|
spot
2.16
|
A fixed-size memory pool implementation. More...
#include <spot/misc/fixpool.hh>
Public Member Functions | |
| fixed_size_pool (size_t size) | |
| Create a pool allocating objects of size bytes. More... | |
| ~fixed_size_pool () | |
| Free any memory allocated by this pool. More... | |
| void * | allocate () |
| Allocate size bytes of memory. More... | |
| void | deallocate (void *ptr) |
| Recycle size bytes of memory. More... | |
A fixed-size memory pool implementation.
|
inline |
Create a pool allocating objects of size bytes.
References spot::clz().
|
inline |
Free any memory allocated by this pool.
|
inline |
Allocate size bytes of memory.
Referenced by spot::iterable_uf< State, StateHash, StateEqual >::make_claim(), and spot::iterable_uf_ec< State, StateHash, StateEqual >::make_claim().
1.9.1