◆ make_tuple() [2/2]

template<class T0 , class T1 >
__host__ __device__ detail::make_tuple_mapper<T0, T1>::type thrust::make_tuple ( const T0 &  t0,
const T1 &  t1 

This version of make_tuple creates a new tuple object from two objects.

t0The first object to copy from.
t1The second object to copy from.
A tuple object with two members which are copies of t0 and t1.
make_tuple has ten variants, the rest of which are omitted here for brevity.

Referenced by thrust::tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::swap().