thrust

◆ operator<=()

template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator<= ( const pair< T1, T2 > &  x,
const pair< T1, T2 > &  y 
)
inline

This operator tests two pairs for ascending ordering or equivalence.

Parameters
xThe first pair to compare.
yThe second pair to compare.
Returns
true if and only if !(y < x).
Template Parameters
T1is a model of LessThan Comparable.
T2is a model of LessThan Comparable.

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