QMCPACK
allocator_traits.hpp File Reference
+ Include dependency graph for allocator_traits.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qmc_allocator_traits< Allocator >
 template class analogous to std::allocator_traits. More...
 

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Typedefs

template<class Allocator >
using IsHostSafe = std::enable_if_t< qmc_allocator_traits< Allocator >::is_host_accessible >
 
template<class Allocator >
using IsNotHostSafe = std::enable_if_t<!qmc_allocator_traits< Allocator >::is_host_accessible >
 
template<class Allocator >
using IsDualSpace = std::enable_if_t< qmc_allocator_traits< Allocator >::is_dual_space >