thrust::less
Defined in thrust/functional.h
-
template<typename T = void>
struct less : public cuda::std::less<void> less
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 classless<T>
andx
andy
are objects of classT
, thenf(x,y)
returnstrue
ifx < y
andfalse
otherwise.See also
- Template Parameters
T – is a model of LessThan Comparable.