$search
Classes | |
class | AlignedAllocator |
An stl-compatible aligned allocator. More... | |
class | AlignedAllocator< void, align > |
Functions | |
void | alignedFree (void *aligned) |
Free memory allocated through alignedMalloc(). | |
void * | alignedMalloc (size_t size, size_t alignment) |
Allocate memory aligned at on a value. Memory allocated through alignedMalloc() must be freed through alignedFree(). |
void allocators::alignedFree | ( | void * | aligned | ) | [inline] |
Free memory allocated through alignedMalloc().
aligned | The memory to free |
void* allocators::alignedMalloc | ( | size_t | size, | |
size_t | alignment | |||
) | [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 |