]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxmanip.h
* lyxfunctional.h: delete compare_memfun and helper classes
[lyx.git] / src / support / lyxmanip.h
index 75e6c4e04d008f46cfbb3c7f0450f461b0c24337..21db95248edd3e04922c4d3368c1996edbae4067 100644 (file)
@@ -1,8 +1,18 @@
 // -*- C++ -*-
+/**
+ * \file lyxmanip.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef LYX_MANIP_H
 #define LYX_MANIP_H
 
-#include <iostream>
+#include "support/std_ostream.h"
 
 ///
 struct NewLineAndDepth_ {
@@ -17,11 +27,12 @@ NewLineAndDepth_ newlineAndDepth(int n)
        nlad_.depth_ = n;
        return nlad_;
 }
+
 ///
 inline
-ostream & operator<<(ostream & os, NewLineAndDepth_ const & nlad_)
+std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_)
 {
-       os << string(nlad_.depth_, ' ');
+       os << std::string(nlad_.depth_, ' ');
        return os;
 }