-// (C) Copyright Jeremy Siek 2001. Permission to copy, use, modify,
-// sell and distribute this software is granted provided this
-// copyright notice appears in all copies. This software is provided
-// "as is" without express or implied warranty, and with no claim as
-// to its suitability for any purpose.
+// (C) Copyright Jeremy Siek 2001.
+// Distributed under the Boost Software License, Version 1.0. (See accompany-
+// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
/*
*
return all(begin(c), end(c), p);
}
- template <typename InputIterator, typename Predicate>
- bool none(InputIterator first, InputIterator last, Predicate p)
- {
- return std::find_if(first, last, p) == last;
- }
- template <typename Container, typename Predicate>
- bool none(const Container& c, Predicate p)
- {
- return none(begin(c), end(c), p);
- }
-
template <typename Container, typename T>
std::size_t count(const Container& c, const T& value)
{