thrust

◆ 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 
)
inline

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

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