Go to the documentation of this file.
28 #ifndef __AlignedAllocator_H__
29 #define __AlignedAllocator_H__
77 static void*
allocate(
size_t size,
size_t alignment);
107 #endif // __AlignedAllocator_H__
Class to provide aligned memory allocate functionality.
static void deallocate(void *p)
Deallocate memory that allocated by this class.
static void * allocate(size_t size)
Allocate memory with default platform dependent alignment.
static void * allocate(size_t size, size_t alignment)
Allocate memory with given alignment.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.