◆ operator<()

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.

xThe first pair to compare.
yThe second pair to compare.
true if and only if x.first < y.first || (!(y.first < x.first) && x.second < y.second).
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(), and thrust::mr::disjoint_unsynchronized_pool_resource< Upstream, Bookkeeper >::~disjoint_unsynchronized_pool_resource().