|
NeoN
A framework for CFD software
|
#include <allocator.hpp>
Public Member Functions | |
| void | setStrategy (std::unique_ptr< AllocatorStrategy > strategyIn) |
| template<typename T > | |
| T * | alloc (size_t elements) const |
| allocate a space for n elements of type T | |
| template<typename T > | |
| T * | realloc (void *ptr, size_t elements) const |
| reallocate a space for n elements of type T | |
| void | free (void *ptr) const |
Definition at line 49 of file allocator.hpp.
|
inline |
allocate a space for n elements of type T
Definition at line 63 of file allocator.hpp.
Definition at line 83 of file allocator.hpp.
|
inline |
reallocate a space for n elements of type T
Definition at line 74 of file allocator.hpp.
|
inline |
Definition at line 56 of file allocator.hpp.