| 28 | /// \see all_of(), any_of() |
| 29 | template<class InputIterator, class UnaryPredicate> |
| 30 | inline bool none_of(InputIterator first, |
| 31 | InputIterator last, |
| 32 | UnaryPredicate predicate, |
| 33 | command_queue &queue = system::default_queue()) |
| 34 | { |
| 35 | BOOST_STATIC_ASSERT(is_device_iterator<InputIterator>::value); |
| 36 | return ::boost::compute::find_if(first, last, predicate, queue) == last; |
| 37 | } |
| 38 | |
| 39 | } // end compute namespace |
| 40 | } // end boost namespace |