TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
Provides a generic malloc and free function for different address spaces.
Definition in file malloc.hpp.
Go to the source code of this file.
Functions | |
template<AddressSpace AdrSp> | |
void | nda::mem::free (void *p) |
Call the correct free function based on the given address space. | |
template<AddressSpace AdrSp> | |
void * | nda::mem::malloc (size_t size) |
Call the correct malloc function based on the given address space. | |