Closed andrewcorrigan closed 11 months ago
We're slowly progressing on this -- We'll be adding a libcu++ dependency in the near future, which will enable us to start using their variadic tuple implementation.
Closed by https://github.com/NVIDIA/cccl/pull/262
thrust::tuple does not use variadic templates. A variadic template implementation of thrust::tuple would not just make the internal implementation more elegant, there are serious practical issues with the current thrust::tuple implementation:
In consideration of the fact that C++11 support in nvcc is still in the release candidate, undocumented, and requires host compiler support, I don't expect C++03 support to be dropped anytime soon. Instead, can a user-supplied compile-time macro (e.g. THRUST_USE_CXX11) or auto-detection of __cplusplus >= 201103L please be considered to switch to an alternate implementation?
[1] http://www.jot.fm/issues/issue_2008_02/article2.pdf