24 lines
334 B
Plaintext
24 lines
334 B
Plaintext
|
|
#ifndef __SG_SSTREAM
|
|
#define __SG_SSTREAM 1
|
|
|
|
# include <iostream>
|
|
# include <strstream>
|
|
# include <string>
|
|
|
|
namespace std {
|
|
|
|
class ostringstream : public ostrstream {
|
|
public:
|
|
std::string str() { return string(ostrstream::str()); }
|
|
};
|
|
|
|
|
|
class istringstream : public istrstream {
|
|
};
|
|
|
|
};
|
|
|
|
#endif // !__SG_SSTREAM
|
|
|