TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
handle.hpp File Reference
#include "./allocators.hpp"
#include "./memcpy.hpp"
#include "../concepts.hpp"
#include "../macros.hpp"
#include <array>
#include <memory>
#include <type_traits>
#include <utility>

Detailed Description

Provides various handles to take care of memory management for nda::basic_array and nda::basic_array_view types.

Definition in file handle.hpp.

Go to the source code of this file.

Classes

struct  nda::mem::aligner< T, Al >
 Wraps an arbitrary type to have a specified alignment. More...
 
struct  nda::mem::do_not_initialize_t
 Tag used in constructors to indicate that the memory should not be initialized. More...
 
struct  nda::mem::handle_borrowed< T, AdrSp >
 A non-owning handle for a memory block on the heap. More...
 
struct  nda::mem::handle_heap< T, A >
 A handle for a memory block on the heap. More...
 
struct  nda::mem::handle_shared< T, AdrSp >
 A handle for a memory block on the heap with shared ownership. More...
 
struct  nda::mem::handle_sso< T, Size >
 A handle for a memory block on the heap or stack depending on the size of the data. More...
 
struct  nda::mem::handle_stack< T, Size >
 A handle for a memory block on the stack. More...
 
struct  nda::mem::init_zero_t
 Tag used in constructors to indicate that the memory should be initialized to zero. More...
 

Variables

static constexpr do_not_initialize_t nda::mem::do_not_initialize {}
 Instance of nda::mem::do_not_initialize_t.
 
static constexpr bool nda::mem::init_dcmplx = true
 Should we initialize memory for complex double types to zero.
 
static constexpr init_zero_t nda::mem::init_zero {}
 Instance of nda::mem::init_zero_t.