TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
nda::borrowed< AdrSp >

#include <nda/mem/policies.hpp>

Detailed Description

template<mem::AddressSpace AdrSp = mem::Host>
struct nda::borrowed< AdrSp >

Memory policy using an nda::mem::handle_borrowed.

Template Parameters
AdrSpnda::mem::AddressSpace in which the memory is allocated.

Definition at line 108 of file policies.hpp.

Public Types

template<typename T >
using handle = mem::handle_borrowed<T, AdrSp>
 Handle type for the policy.
 

Member Typedef Documentation

◆ handle

template<mem::AddressSpace AdrSp = mem::Host>
template<typename T >
using nda::borrowed< AdrSp >::handle = mem::handle_borrowed<T, AdrSp>

Handle type for the policy.

Template Parameters
TValue type of the data.

Definition at line 114 of file policies.hpp.


The documentation for this struct was generated from the following file: