Template Function thrust::operator<=

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 or equivalence.

Return

true if and only if !(y < x).

Parameters
  • x: The first pair to compare.

  • y: The second pair to compare.

Template Parameters