Header <boost/algorithm/cxx11/any_of.hpp>

| Home | Libraries | People | FAQ | More

### Header <boost/algorithm/cxx11/any_of.hpp>

Test ranges to see if any elements match a value or predicate.

Marshall Clow

    namespace boost {
      namespace algorithm {
        template<typename InputIterator, typename Predicate>
          bool any_of(InputIterator, InputIterator, Predicate);
        template<typename Range, typename Predicate>
          bool any_of(const Range &, Predicate);
        template<typename InputIterator, typename V>
          bool any_of_equal(InputIterator, InputIterator, const V &);
        template<typename Range, typename V>
          bool any_of_equal(const Range &, const V &);
      }
    }