   typedef typename cusp::array1d<int, MemorySpace> Array;
   typedef typename Array::iterator                 Iterator;
   typedef typename Array::const_iterator           ConstIterator;
+  typedef typename std::vector<int>                Vector;
+  typedef typename thrust::host_vector<int>        HostVector;
+  typedef typename thrust::device_vector<int>      DeviceVector;
 
   // view to container
   {

    ASSERT_EQUAL(W.capacity(), 4);
    ASSERT_EQUAL_QUIET(W.begin(), A.begin());
    ASSERT_EQUAL_QUIET(W.end(),   A.end());
  }

}


#include <cusp/array1d.h>

#include <vector>

#include <thrust/host_vector.h>
#include <thrust/device_vector.h>
#include <thrust/iterator/counting_iterator.h>
#include <thrust/iterator/zip_iterator.h>

