]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/detail/algorithm.hpp
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / boost / boost / detail / algorithm.hpp
index 4cc52c1e762e9cbf55bd4c48b4eb64ea4c69b9c9..376baeddac9e7ecc943a499847921aa0265dbf4b 100644 (file)
@@ -1,8 +1,6 @@
-// (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)
 
 /*
  *
@@ -178,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)
   {