Test ranges to see if only one element matches a value or predicate. More...
#include <algorithm>
#include <boost/algorithm/cxx11/none_of.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::algorithm | |
Functions | |
template<typename InputIterator , typename Predicate > | |
bool | boost::algorithm::one_of (InputIterator first, InputIterator last, Predicate p) |
template<typename Range , typename Predicate > | |
bool | boost::algorithm::one_of (const Range &r, Predicate p) |
template<typename InputIterator , typename V > | |
bool | boost::algorithm::one_of_equal (InputIterator first, InputIterator last, const V &val) |
template<typename Range , typename V > | |
bool | boost::algorithm::one_of_equal (const Range &r, const V &val) |
Test ranges to see if only one element matches a value or predicate.