PlayRho  2.0.0
An interactive physics engine & library.
DynamicMemory.hpp File Reference

Dynamic memory allocation helpers. More...

#include <cstddef>
#include <limits>
#include <new>
Include dependency graph for DynamicMemory.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Dynamic memory allocation helpers.