thrust::pair
Defined in thrust/pair.h
- 
template<class T, class U>
 using thrust::pair = _CUDA_VSTD::pair<T, U>
- pairis a generic data structure encapsulating a heterogeneous pair of values.- Template Parameters
- T1 – The type of - pair'sfirst object type. There are no requirements on the type of- T1.- T1’s type is provided by- pair::first_type.
- T2 – The type of - pair'ssecond object type. There are no requirements on the type of- T2.- T2’s type is provided by- pair::second_type.