Wolframe, 0.0.3

_Wolframe::utils::GreedySmallChunkAllocator Class Reference

Interface for an allocator for small chunks without a free. Memory is freed in the destructor of the allocator. More...

#include <allocators.hpp>

Public Member Functions

 GreedySmallChunkAllocator ()
 
 ~GreedySmallChunkAllocator ()
 
void * alloc (std::size_t nofBytes)
 

Private Attributes

MemChunk * m_chunk
 

Detailed Description

Interface for an allocator for small chunks without a free. Memory is freed in the destructor of the allocator.

Constructor & Destructor Documentation

_Wolframe::utils::GreedySmallChunkAllocator::GreedySmallChunkAllocator ( )
_Wolframe::utils::GreedySmallChunkAllocator::~GreedySmallChunkAllocator ( )

Member Function Documentation

void* _Wolframe::utils::GreedySmallChunkAllocator::alloc ( std::size_t  nofBytes)

Member Data Documentation

MemChunk* _Wolframe::utils::GreedySmallChunkAllocator::m_chunk
private

The documentation for this class was generated from the following file: