Dynamic memory allocation helpers. More...
#include <cstddef>#include <limits>#include <new>Namespaces | |
| playrho | |
Functions | |
| void * | playrho::Alloc (std::size_t size) |
| Allocates memory. More... | |
| template<typename T > | |
| T * | playrho::AllocArray (std::size_t size) |
| Allocates memory for an array. More... | |
| void | playrho::Free (void *mem) |
| Frees memory. More... | |
| void * | playrho::Realloc (void *ptr, std::size_t size) |
| Reallocates memory. More... | |
| template<typename T > | |
| T * | playrho::ReallocArray (T *ptr, std::size_t count) |
| Reallocates memory for an array. More... | |
Dynamic memory allocation helpers.