2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-09 11:12:28 +00:00

Remove none algorith, which is unused and conflicts with none.hpp

[SVN r36409]
This commit is contained in:
Douglas Gregor
2006-12-15 21:44:53 +00:00
parent 15d8e1dc21
commit 85dd95cf77

View File

@@ -176,17 +176,6 @@ namespace boost {
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)
{