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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user