Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Host Containers

template <typename T,   typename Alloc = std::allocator<T>> class thrust::host_vector;
template <typename T,   typename Alloc> void thrust::swap(host_vector< T, Alloc > & a,   host_vector< T, Alloc > & b);

Member Classes

Class thrust::host_vector

Inherits From: detail::vector_base< T, std::allocator< T > >

Functions

Function thrust::swap

template <typename T,   typename Alloc> void swap(host_vector< T, Alloc > & a,   host_vector< T, Alloc > & b); Exchanges the values of two vectors. x The first host_vector of interest. y The second host_vector of interest.