Host Containers

template <typename T,   typename Alloc = std::allocator<T>> class thrust::host_vector;
template <typename T,   typename Alloc> void 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 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.