]> git.lyx.org Git - features.git/blobdiff - src/support/lyxalgo.h
Documentation + file removals as sent to list
[features.git] / src / support / lyxalgo.h
index 323f8e32f16a8b1269f00a817a53a72e52704b7a..dcbfd6d5d3bc4e195e7064e6bbf51097cc049748 100644 (file)
@@ -1,4 +1,15 @@
 // -*- C++ -*-
+/**
+ * \file lyxalgo.h
+ * Copyright 1995-2002 the LyX Team
+ * Read the file COPYING
+ *
+ * A variety of useful templates.
+ *
+ * \author unknown
+ */
+
 
 #ifndef LYX_ALGO_H
 #define LYX_ALGO_H
@@ -44,6 +55,10 @@ struct firster {
 };
 
 
+/**
+ * copy elements in the given range to the output iterator 
+ * if the predicate evaluates as true
+ */
 template <class InputIter, class OutputIter, class Func>
 OutputIter copy_if(InputIter first, InputIter last,
               OutputIter result, Func func)
@@ -74,4 +89,4 @@ count (Iterator first, Iterator last, T const & value)
 
 } // namespace lyx
 
-#endif
+#endif // LYX_ALGO_H