![]()  | 
hpx::parallel::v1::none_of
// In header: <hpx/parallel/detail/all_any_none.hpp> template<typename ExPolicy, typename InIter, typename F> unspecified none_of(ExPolicy && policy, InIter first, InIter last, F && f);
Checks if unary predicate f returns true for no elements in the range [first, last).
![]()  | 
Note | 
|---|---|
Complexity: At most last - first applications of the predicate f  | 
The application of function objects in parallel algorithm invoked with an execution policy object of type sequential_execution_policy execute in sequential order in the calling thread.
The application of function objects in parallel algorithm invoked with an execution policy object of type parallel_execution_policy or task_execution_policy are permitted to execute in an unordered fashion in unspecified threads, and indeterminately sequenced within each thread.
Parameters:  | 
  | 
||||||||
Template Parameters:  | 
  | 
||||||||
Returns:  | 
The none_of algorithm returns a hpx::future<bool> if the execution policy is of type task_execution_policy and returns bool otherwise. The none_of algorithm returns true if the unary predicate f returns true for no elements in the range, false otherwise. It returns true if the range is empty.  |