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