Thrust

◆ tie() [1/2]

template<typename T0 >
__host__ __device__ tuple<T0&> thrust::tie ( T0 &  t0)

This version of tie creates a new tuple whose single element is a reference which refers to this function's argument.

Parameters
t0The object to reference.
Returns
A tuple object with one member which is a reference to t0.