$search

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:
aligned The 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:
size The amount of memory to allocate
alignment The value to align on

Definition at line 53 of file aligned.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


allocators
Author(s): Josh Faust
autogenerated on Sat Mar 2 13:21:10 2013