MCPcopy Create free account
hub / github.com/boostorg/compute / all_of

Function all_of

include/boost/compute/algorithm/all_of.hpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23/// \see any_of(), none_of()
24template<class InputIterator, class UnaryPredicate>
25inline bool all_of(InputIterator first,
26 InputIterator last,
27 UnaryPredicate predicate,
28 command_queue &queue = system::default_queue())
29{
30 return ::boost::compute::find_if_not(first, last, predicate, queue) == last;
31}
32
33} // end compute namespace
34} // end boost namespace

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

find_if_notFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68