safe_host_allocator

safe_host_allocator#

stdgpu: stdgpu::safe_host_allocator::safe_host_allocator
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ safe_host_allocator()

template<typename T >
template<typename U >
stdgpu::safe_host_allocator< T >::safe_host_allocator ( const safe_host_allocator< U > &  other)
explicitnoexcept

Copy constructor.

Template Parameters
UAnother type
Parameters
[in]otherThe allocator to be copied from