// -*- 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"
+
+
+namespace lyx {
///
struct NewLineAndDepth_ {
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;
}
+
+} // namespace lyx
+
#endif