]> git.mxchange.org Git - simgear.git/blob - simgear/compatibility/sstream
2eb051958a77a9ffbbc24bdfe6d16e1f6c854873
[simgear.git] / simgear / compatibility / sstream
1
2 #ifndef __SG_SSTREAM
3 #define __SG_SSTREAM 1
4
5 # include <iostream>
6 # include <strstream>
7 # include <string>
8
9 namespace std {
10
11    class ostringstream : public ostrstream {
12    public:
13       std::string str() { return string(ostrstream::str()) + '\0'; }
14    };
15
16
17    class istringstream : public istrstream {
18    };
19
20 };
21
22 #endif // !__SG_SSTREAM
23