std::none_of in C++
Returns true if pred returns false for all the elements in the range [first, last] or if the range is empty, and false otherwise.Syntax : Template : bool none_of(InputIterator first, InputIterator last, UnaryPredicate pred); first, last Input iterators to the initial and final positions in a sequenc