#include <thrust/functional.h>
|
__thrust_exec_check_disable__ __host__ __device__ constexpr bool | operator() (const T &lhs, const T &rhs) const |
|
template<typename T = void>
struct thrust::less< T >
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. If f
is an object of class less<T>
and x
and y
are objects of class T
, then f(x,y)
returns true
if x < y
and false
otherwise.
- Template Parameters
-
- See also
- https://en.cppreference.com/w/cpp/utility/functional/less
-
binary_function
The documentation for this struct was generated from the following file: