]> git.lyx.org Git - lyx.git/blob - src/mathed/math_streamstr.h
make operator<<(*stream, ...) free functions;
[lyx.git] / src / mathed / math_streamstr.h
1 #ifndef MATH_STREAMSTR_H
2 #define MATH_STREAMSTR_H
3
4 #include "LString.h"
5 #include "math_mathmlstream.h"
6
7 //
8 // writing strings directly
9 //
10
11 inline WriteStream & operator<<(WriteStream & ws, string const & s)
12 {
13         ws << s.c_str();
14         return ws;
15 }
16
17 #endif