operator()

operator()#

stdgpu: stdgpu::equal_to::operator()
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ operator()()

template<typename T = void>
STDGPU_HOST_DEVICE bool stdgpu::equal_to< T >::operator() ( const T &  lhs,
const T &  rhs 
) const

Compares two values with each other.

Parameters
[in]lhsThe first value
[in]rhsThe second value
Returns
True if both values are equal, false otherwise