#include <PoolAllocator.hpp>
Public Member Functions | |
PoolAllocatorInternal () | |
Public Member Functions inherited from Grappa::PoolAllocator< Base > | |
Base * | allocate (size_t sz) |
PoolAllocator (char *buffer, size_t buffer_size, bool owns_buffer) | |
void | reset () |
virtual | ~PoolAllocator () |
template<typename F > | |
void | iterate (F f) |
Takes a lambda (or really any callable) that is called repeated for each allocated Base*. More... | |
size_t | remaining () |
Additional Inherited Members | |
Public Attributes inherited from Grappa::PoolAllocator< Base > | |
char * | buffer |
size_t | buffer_size |
size_t | allocated |
bool | owns_buffer |
Definition at line 96 of file PoolAllocator.hpp.
|
inline |
Definition at line 99 of file PoolAllocator.hpp.