Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
all_of.hpp File Reference

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

#include <algorithm>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
Include dependency graph for all_of.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

template<typename InputIterator , typename Predicate >
bool boost::algorithm::all_of (InputIterator first, InputIterator last, Predicate p)
 
template<typename Range , typename Predicate >
bool boost::algorithm::all_of (const Range &r, Predicate p)
 
template<typename InputIterator , typename T >
bool boost::algorithm::all_of_equal (InputIterator first, InputIterator last, const T &val)
 
template<typename Range , typename T >
bool boost::algorithm::all_of_equal (const Range &r, const T &val)
 

Detailed Description

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

Author
Marshall Clow