![]() |
XII Release 0.1.0
|
This allocation policy works like a stack. You can only "push" and "pop" allocations in the correct order. More...
#include <StackAllocation.h>
Public Types | |
enum | { Alignment = 16 } |
Public Member Functions | |
XII_FORCE_INLINE | xiiStackAllocation (xiiAllocatorBase *pParent) |
XII_FORCE_INLINE void * | Allocate (size_t uiSize, size_t uiAlign) |
XII_FORCE_INLINE void | Deallocate (void *pPtr) |
XII_FORCE_INLINE void | Reset () |
XII_FORCE_INLINE void | FillStats (xiiAllocatorBase::Stats &ref_stats) |
XII_ALWAYS_INLINE xiiAllocatorBase * | GetParent () const |
This allocation policy works like a stack. You can only "push" and "pop" allocations in the correct order.