aboria / Aboria

Enables computations over a set of particles in N-dimensional space
https://aboria.github.io/Aboria
Other
105 stars 30 forks source link

combine `std:tuple` and `thrust:tuple` specialisations of `getter_type` and `zip_iterator` #5

Closed martinjrobins closed 7 years ago

martinjrobins commented 7 years ago

the two specialisations ofgetter_type, with std::tuple and thrust::tuple, are almost the same. Seems like it should be possible to combine them? Same with zip_iterator.

martinjrobins commented 7 years ago

I'm not sure it is possible to combine them. I've had lots of problems mixing variadic template parameter packs that I use for std::tuple, and the fixed size template parameters used with thrust::tuple. Might be better to keep these getter_type specialisations separate for now.