template<typename T>
struct thrust::logical_or< T >
logical_or
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 logical_or<T>
and x
and y
are objects of class T
(where T
is convertible to bool
) then f(x,y)
returns true
if and only if either x
or y
are true
.
 Template Parameters

T  must be convertible to bool . 
 See also
 http://www.sgi.com/tech/stl/logical_or.html

binary_function