|
Expression Templates Library (ETL)
|
Allocated for aligned memory. More...
#include <allocator.hpp>
Static Public Member Functions | |
| template<typename T , size_t S = sizeof(T)> | |
| static T * | allocate (size_t size, mangling_faker< S >=mangling_faker< S >()) |
| Allocate a block of memory of size elements. More... | |
| template<typename T , size_t S = sizeof(T)> | |
| static void | release (T *ptr, mangling_faker< S >=mangling_faker< S >()) |
| Release the memory. More... | |
Allocated for aligned memory.
| A | The alignment |
|
inlinestatic |
Allocate a block of memory of size elements.
| size | The number of elements |
|
inlinestatic |
Release the memory.
| ptr | The pointer to the memory to be released |
1.8.13