TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
policies.hpp File Reference
#include "./allocators.hpp"
#include "./handle.hpp"

Detailed Description

Defines various memory handling policies.

Definition in file policies.hpp.

Go to the source code of this file.

Classes

struct  nda::borrowed< AdrSp >
 Memory policy using an nda::mem::handle_borrowed. More...
 
struct  nda::heap_basic< Allocator >
 Memory policy using an nda::mem::handle_heap. More...
 
struct  nda::shared
 Memory policy using an nda::mem::handle_shared. More...
 
struct  nda::sso< Size >
 Memory policy using an nda::mem::handle_sso. More...
 
struct  nda::stack< Size >
 Memory policy using an nda::mem::handle_stack. More...
 

Typedefs

template<mem::AddressSpace AdrSp = mem::Host>
using nda::heap = heap_basic<mem::mallocator<AdrSp>>
 Alias template of the nda::heap_basic policy using an nda::mem::mallocator.