XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAllocationPolicyProxy Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <AllocationPolicyProxy.h>

Public Member Functions

XII_FORCE_INLINE xiiAllocationPolicyProxy (xiiAllocator *pParent)
XII_FORCE_INLINE void * Allocate (size_t uiSize, size_t uiAlign)
XII_FORCE_INLINE void * Reallocate (void *pPtr, size_t uiCurrentSize, size_t uiNewSize, size_t uiAlign)
XII_FORCE_INLINE void Deallocate (void *pPtr)
XII_FORCE_INLINE size_t AllocatedSize (const void *pPtr)
XII_ALWAYS_INLINE xiiAllocator * GetParent () const

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

This Allocation policy redirects all operations to its parent.

Note
Note that the stats are taken on the proxy as well as on the parent.
See also
xiiAllocatorWithPolicy

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