I have created a struct to structure a table where the columns are thrust::device_vectors and gcc is complaining that I am not passing a template parameter.
struct table
{
thrust::device_vector *columns;
};
error: argument list for class template "thrust::device_vector" is missing
How can I make it generic that I could have any sort of arbitrary template parameters for each column?
For example, one table could have 2 columns: 1 float device vector and an integer device vector.