Template Function thrust::operator<¶
Defined in File tuple.h
Function Documentation¶
-
template<typename T1, typename T2>__host__ __device__ bool thrust::operator<(const pair < T1, T2 > & x, const pair < T1, T2 > & y) This operator tests two pairs for ascending ordering.
- Return
trueif and only ifx.first < y.first || (!(y.first < x.first) && x.second < y.second).- Parameters
x: The firstpairto compare.y: The secondpairto compare.
- Template Parameters
T1: is a model of LessThan Comparable.T2: is a model of LessThan Comparable.