template<typename T>
struct thrust::logical_and< T >
logical_and
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_and<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 both x
and y
are true
.
 Template Parameters

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

binary_function