thrust

◆ tie() [1/2]

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

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.

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