thrust

◆ swap() [3/6]

template<typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9 >
__host__ __device__ void thrust::swap ( tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 > &  x,
tuple< U0, U1, U2, U3, U4, U5, U6, U7, U8, U9 > &  y 
)
inline

swap swaps the contents of two tuples.

Parameters
xThe first tuple to swap.
yThe second tuple to swap.

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