Classes | |
class | AlignedAllocator |
An stl-compatible aligned allocator. More... | |
class | AlignedAllocator< void, align > |
Functions | |
void | alignedFree (void *aligned) |
Free memory allocated through alignedMalloc() More... | |
void * | alignedMalloc (size_t size, size_t alignment) |
Allocate memory aligned at on a value. Memory allocated through alignedMalloc() must be freed through alignedFree() More... | |
|
inline |
Free memory allocated through alignedMalloc()
aligned | The memory to free |
|
inline |
Allocate memory aligned at on a value. Memory allocated through alignedMalloc() must be freed through alignedFree()
size | The amount of memory to allocate |
alignment | The value to align on |