Classes | Functions
allocators Namespace Reference

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()

Function Documentation

void allocators::alignedFree ( void *  aligned) [inline]

Free memory allocated through alignedMalloc()

Parameters:
alignedThe memory to free

Definition at line 74 of file aligned.h.

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()

Parameters:
sizeThe amount of memory to allocate
alignmentThe value to align on

Definition at line 53 of file aligned.h.



allocators
Author(s): Josh Faust
autogenerated on Sat Dec 28 2013 17:34:33