operator()

operator()#

stdgpu: stdgpu::logical_and< void >::operator()
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ operator()()

template<typename T , typename U >
STDGPU_HOST_DEVICE auto stdgpu::logical_and< void >::operator() ( T &&  lhs,
U &&  rhs 
) const -> decltype(forward< T >(lhs) &&forward< U >(rhs))

Performs logical AND on the two values.

Template Parameters
TThe class of the first value
UThe class of the second value
Parameters
[in]lhsThe first value
[in]rhsThe second value
Returns
The result of logical AND of the given values