thrust

◆ operator==() [1/6]

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 equality.

Parameters
xThe first pair to compare.
yThe second pair to compare.
Returns
true if and only if x.first == y.first && x.second == y.second.
Template Parameters
T1is a model of Equality Comparable.
T2is a model of Equality Comparable.