![]() |
Public API Reference |
![]() |
This class implements an allocator policy which aligns the first element on given byte boundary. More...
#include <csutil/allocator.h>
Static Public Member Functions | |
static void * | Alloc (size_t size) |
Allocate a raw block of given size. | |
static void | Free (void *p) |
Free a block. |
This class implements an allocator policy which aligns the first element on given byte boundary.
It has a per-block overhead of `sizeof(void*)+alignment' bytes.
Definition at line 434 of file allocator.h.
static void* CS::Memory::AllocatorAlign< A >::Alloc | ( | size_t | size | ) | [inline, static] |
Allocate a raw block of given size.
Definition at line 440 of file allocator.h.
static void CS::Memory::AllocatorAlign< A >::Free | ( | void * | p | ) | [inline, static] |
Free a block.
Definition at line 449 of file allocator.h.