thrust::not_equal_to
Defined in thrust/functional.h
-
template<typename T = void>
struct not_equal_to : public cuda::std::not_equal_to<void> not_equal_to
is a function object. Specifically, it is an Adaptable Binary Predicate, which means it is a function object that tests the truth or falsehood of some condition. Iff
is an object of classnot_equal_to<T>
andx
andy
are objects of classT
, thenf(x,y)
returnstrue
ifx != y
andfalse
otherwise.See also
- Template Parameters
T – is a model of Equality Comparable.