| Home | Libraries | People | FAQ | More

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

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

Marshall Clow

    namespace boost {
      namespace algorithm {
        template<typename InputIterator, typename Predicate>
          bool all_of(InputIterator, InputIterator, Predicate);
        template<typename Range, typename Predicate>
          bool all_of(const Range &, Predicate);
        template<typename InputIterator, typename T>
          bool all_of_equal(InputIterator, InputIterator, const T &);
        template<typename Range, typename T>
          bool all_of_equal(const Range &, const T &);
      }
    }