SG++-Doxygen-Documentation
|
#include <new>
#include <exception>
#include <stdlib.h>
Macros | |
#define | aligned_free(addr) free(addr) |
#define | aligned_malloc(p, size, alignment) int success = posix_memalign(&p, SGPPMEMALIGNMENT, size); |
#define | POSIX_MEMALIGN |
#define | SGPPMEMALIGNMENT 64 |
Functions | |
void | operator delete (void *p) throw () |
void | operator delete[] (void *p) throw () |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) throw (std::bad_alloc) |
#define aligned_free | ( | addr | ) | free(addr) |
Referenced by operator delete(), and operator delete[]().
#define aligned_malloc | ( | p, | |
size, | |||
alignment | |||
) | int success = posix_memalign(&p, SGPPMEMALIGNMENT, size); |
Referenced by operator new(), and operator new[]().
#define POSIX_MEMALIGN |
#define SGPPMEMALIGNMENT 64 |
Referenced by operator new(), and operator new[]().
void operator delete | ( | void * | p | ) | |
throw | ( | ||||
) |
References aligned_free, and friedman::p.
void operator delete[] | ( | void * | p | ) | |
throw | ( | ||||
) |
References aligned_free, and friedman::p.
void* operator new | ( | size_t | size | ) |
References aligned_malloc, friedman::p, and SGPPMEMALIGNMENT.
void* operator new[] | ( | size_t | size | ) | |
throw | ( | std::bad_alloc | |||
) |
References aligned_malloc, friedman::p, and SGPPMEMALIGNMENT.